Public Member Functions | |
sbIMediacoreEvent | createEvent (in unsigned long aType, in sbIMediacore aOrigin,[optional] in nsIVariant aData,[optional] in sbIMediacoreError aError) |
Public Attributes | |
readonly attribute sbIMediacore | primaryCore |
readonly attribute sbIMediacoreBalanceControl | balanceControl |
readonly attribute sbIMediacoreVolumeControl | volumeControl |
readonly attribute sbIMediacoreSimpleEqualizer | equalizer |
readonly attribute sbIMediacorePlaybackControl | playbackControl |
readonly attribute sbIMediacoreCapabilities | capabilities |
readonly attribute sbIMediacoreStatus | status |
attribute sbIMediacoreSequencer | sequencer |
readonly attribute sbIMediacoreVideoWindow | video |
The primary video window that will be used by all cores to display video when it's available. |
Definition at line 48 of file sbIMediacoreManager.idl.
sbIMediacoreEvent sbIMediacoreManager::createEvent | ( | in unsigned long | aType, | |
in sbIMediacore | aOrigin, | |||
[optional] in nsIVariant | aData, | |||
[optional] in sbIMediacoreError | aError | |||
) |
Create a new event
aType | The type of the event; should be one of the COMMAND_* or EVENT_* constants on the sbIMediacoreEvent. | |
aData | (Optional) The data to pass to any listeners that would receive this event. | |
aOrigin | (Optional) Some indication of the source of the event. | |
aError | (Optional) An error associated with the event |
readonly attribute sbIMediacore sbIMediacoreManager::primaryCore |
The primary core is always used to play user content.
If you need a mediacore for background tasks of any kind, it is preferable to create a new instance.
Definition at line 56 of file sbIMediacoreManager.idl.
The current sequencer used to generate and manage playback sequences.
Setting the sequencer will have the following effect:
1. Current sequences remain unaffected. 2. When playback of current sequences is complete, the new sequencer is used to generate the next sequence.
Definition at line 76 of file sbIMediacoreManager.idl.