Interface that defines a mediaitem controller. More...
import"sbIMediaItemController.idl";
Public Member Functions | |
boolean | isItemDisabled (in sbIMediaItem aMediaItem) |
Determines if the item should be disabled in playlists. More... | |
void | validatePlayback (in sbIMediaItem aItem, in boolean aFromUserAction, in sbIMediaItemControllerListener aListener) |
void | validateStreaming (in sbIMediaItem aItem, in boolean aFromUserAction, in boolean aPromptLoginOnce, in sbIMediaItemControllerListener aListener) |
Interface that defines a mediaitem controller.
A mediaitem controller allows components to control the disabled status and playback capability of a mediaitem in realtime. Controller ContractIDs are of the form .com/Songbird/library/mediaitemcontroller;1?type=XXX where XXX is the media item's trackType property.
Implementors must provide a service with the correct contractID in order for the sequencer to call them back for their media items.
Definition at line 79 of file sbIMediaItemController.idl.
boolean sbIMediaItemController::isItemDisabled | ( | in sbIMediaItem | aMediaItem | ) |
Determines if the item should be disabled in playlists.
void sbIMediaItemController::validatePlayback | ( | in sbIMediaItem | aItem, |
in boolean | aFromUserAction, | ||
in sbIMediaItemControllerListener | aListener | ||
) |
void sbIMediaItemController::validateStreaming | ( | in sbIMediaItem | aItem, |
in boolean | aFromUserAction, | ||
in boolean | aPromptLoginOnce, | ||
in sbIMediaItemControllerListener | aListener | ||
) |