30 #include "nsISupports.idl"
42 [scriptable,
uuid(abbeaac0-dc53-11df-937b-0800200c9a66)]
75 [scriptable,
uuid(88849800-ddbe-11df-85ca-0800200c9a66)]
attribute unsigned long index
Index of the current track in the Play Queue.
void queueSomeBefore(in unsigned long aIndex, in nsISimpleEnumerator aMediaItems)
Adds an enumerator of media items before the slot specified by aIndex in the Play Queue asynchronousl...
void removeListener(in sbIPlayQueueServiceListener aListener)
Remove a listener for the service.
void queueSomeLast(in nsISimpleEnumerator aMediaItems)
Adds an enumerator of media items to the end of the Play Queue asynchronously. Items are not actually...
void clearHistory()
Clear the Play Queue's history.
void onQueueOperationCompleted()
fired when queue operation is completed.
readonly attribute sbIMediaList mediaList
The underlying MediaList for the Play Queue.
void queueNext(in sbIMediaItem aMediaItem)
Adds a media item to the next slot in the Play Queue.
Listener for the Play Queue service.
readonly attribute boolean operationInProgress
Whether a queue operation is in progress.
void addListener(in sbIPlayQueueServiceListener aListener)
Add a listener for the service.
void clearAll()
Clear the Play Queue's contents.
void onQueueOperationStarted()
fired when queue operation is started.
Service for interacting with the Play Queue.
void queueLast(in sbIMediaItem aMediaItem)
Adds a media item to the end of the Play Queue.
void onIndexUpdated(in unsigned long aToIndex)
void queueSomeNext(in nsISimpleEnumerator aMediaItems)
Adds an enumerator of media items to the next slot in the Play Queue asynchronously. Items are not actually in the queue until the onQueueOperationCompleted notification is sent, and callers should not attempt to add or remove items from the queue while the operation is in progress.