Songbird / Development / Songbird Add-Ons API Documentation

sbIMediaListMatch Interface Reference

This interface is used to provide a generic test on medialists. Note that instead of providing an object with this interface to a method that requires it, you may instead give a raw javascript function. eg:. More...

List of all members.

Public Member Functions

PRBool match (in sbIMediaList aList)
 Callback method used to perform the test on the medialist.


Detailed Description

This interface is used to provide a generic test on medialists. Note that instead of providing an object with this interface to a method that requires it, you may instead give a raw javascript function. eg:.

  var page = pageMgr.registerPage("MyPage", 
                     MYURL, 
                     function(aList) { return (aList.type == "simple"); } );

Definition at line 134 of file sbIMediaPageManager.idl.


The documentation for this interface was generated from the following file:
Generated on Tue Mar 10 14:29:00 2009 for Songbird by  doxygen 1.5.2