Class Programme : category Property


Category category [read only];

Summary

The category object.


Remarks

The category can be "undefined" (only external "user" channels can supply an empty category) so it's always worth adding a test for the programme category e.g.

if( programme.category)
{
...
}


Examples

Code taken from the standard "category" marker;

switch( programme.category.name )
{
case "Adult Entertainment":
marker.displayBackground = "red";
break;


See Also

Category


Requirements

Build 1059