Class App : getListingsManager Method
ListingsManager getListingsManager() |
Summary
Get the ListingsManager object
Remarks
Only one ListingsManager object exists in the system and ListingsManager objects cannot be created.You would use this when you need to query the listings system for anything. From here you can access channels, categories and even lists of programmes.
Returns
Returns the ListingsManager object.
Examples
Code below gets the listings manager and then lists out the categories.var listings = app.getListingsManager(); var cats = listings.getCategories(); for (var cat in cats ) { menu.addItem( cats[cat].name + "(" + cats[cat].id + ")", "onDoNothing" ); }
|
See Also
ListingsManager
Requirements
Build 1059
|