Definition of the sbIMediacoreEvent interface. More...
import"sbIMediacoreEvent.idl";
Public Attributes | |
const unsigned long | UNINTIALIZED = 0x00000000 |
const unsigned long | METADATA_CHANGE = 0x00001000 |
Metadata describing current item has changed. More... | |
const unsigned long | URI_CHANGE = 0x00001001 |
URI used for operation has changed. More... | |
const unsigned long | DURATION_CHANGE = 0x00001002 |
Current duration has changed. More... | |
const unsigned long | VOLUME_CHANGE = 0x00001003 |
Volume has changed. More... | |
const unsigned long | MUTE_CHANGE = 0x00001004 |
Mute status has changed. More... | |
const unsigned long | BEFORE_TRACK_CHANGE = 0x00001500 |
Before the track playing is changed. More... | |
const unsigned long | TRACK_CHANGE = 0x00001501 |
Track playing has changed. More... | |
const unsigned long | TRACK_INDEX_CHANGE = 0x00001502 |
Index in view of item currently playing has changed. More... | |
const unsigned long | BEFORE_VIEW_CHANGE = 0x00001503 |
Sequencer view is about to change. More... | |
const unsigned long | VIEW_CHANGE = 0x00001504 |
Sequencer view changed. More... | |
const unsigned long | SEQUENCE_CHANGE = 0x00001505 |
Sequence recalculated. More... | |
const unsigned long | SEQUENCE_END = 0x00001507 |
Sequence end. More... | |
const unsigned long | EXPLICIT_TRACK_CHANGE = 0x00001508 |
Explicit call to next or previous. More... | |
const unsigned long | STREAM_FOUND = 0x00002000 |
Stream found. More... | |
const unsigned long | STREAM_HAS_VIDEO = 0x00002001 |
Stream has video. More... | |
const unsigned long | BUFFERING = 0x00003000 |
Buffering. More... | |
const unsigned long | BUFFER_UNDERRUN = 0x00003001 |
Buffer underrun, operation is likely to halt. More... | |
const unsigned long | STREAM_BEFORE_START = 0x00004000 |
Stream is about to start. More... | |
const unsigned long | STREAM_START = 0x00004001 |
Stream has started. More... | |
const unsigned long | STREAM_BEFORE_PAUSE = 0x00004002 |
Stream is about to pause. More... | |
const unsigned long | STREAM_PAUSE = 0x00004003 |
Stream is now paused. More... | |
const unsigned long | STREAM_END = 0x00004004 |
End of stream. More... | |
const unsigned long | STREAM_BEFORE_STOP = 0x00004005 |
Stream is about to stop. More... | |
const unsigned long | STREAM_STOP = 0x00004006 |
Stream was stopped. More... | |
const unsigned long | EXPLICIT_STOP = 0x00004007 |
Explicit call to stop the playback. More... | |
const unsigned long | SEEKED = 0x00001005 |
Playback has progressed in an unusual way. More... | |
const unsigned long | VIDEO_SIZE_CHANGED = 0x00005000 |
Video size has changed. More... | |
const unsigned long | PLUGIN_MISSING = 0x00008000 |
Plugin missing for requested format. More... | |
const unsigned long | CUSTOM_EVENT_BASE = 0x40000000 |
Custom event base value. More... | |
const unsigned long | ERROR_EVENT = 0x80000000 |
Indicates the event is an error and will have its error member set. More... | |
readonly attribute unsigned long | type |
The event type. More... | |
readonly attribute sbIMediacoreError | error |
Error member is only set when type of event is set to ERROR. More... | |
readonly attribute nsIVariant | data |
The event data. Payload varies per event type. More... | |
readonly attribute sbIMediacore | origin |
Mediacore that generated the event. More... | |
readonly attribute sbIMediacoreEventTarget | target |
Event Target that dispatched the event. More... | |
Definition of the sbIMediacoreEvent interface.
Definition at line 38 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::BEFORE_TRACK_CHANGE = 0x00001500 |
Before the track playing is changed.
Definition at line 75 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::BEFORE_VIEW_CHANGE = 0x00001503 |
Sequencer view is about to change.
Definition at line 92 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::BUFFER_UNDERRUN = 0x00003001 |
Buffer underrun, operation is likely to halt.
Definition at line 154 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::BUFFERING = 0x00003000 |
Buffering.
Definition at line 148 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::CUSTOM_EVENT_BASE = 0x40000000 |
Custom event base value.
Definition at line 248 of file sbIMediacoreEvent.idl.
readonly attribute nsIVariant sbIMediacoreEvent::data |
The event data. Payload varies per event type.
Definition at line 267 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::DURATION_CHANGE = 0x00001002 |
Current duration has changed.
Definition at line 56 of file sbIMediacoreEvent.idl.
readonly attribute sbIMediacoreError sbIMediacoreEvent::error |
Error member is only set when type of event is set to ERROR.
Definition at line 262 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::ERROR_EVENT = 0x80000000 |
Indicates the event is an error and will have its error member set.
Definition at line 253 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::EXPLICIT_STOP = 0x00004007 |
Explicit call to stop the playback.
Triggered by user or code that is actively attempting to stop the playback. This event is not fired when the sequencer goes to the end and no next track for playback.
Definition at line 219 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::EXPLICIT_TRACK_CHANGE = 0x00001508 |
Explicit call to next or previous.
Triggered by user or code that is actively attempting to change to the next track. This event is not fired when the sequencer goes to the next track because the previous track has finished playing in its entirety.
Definition at line 128 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::METADATA_CHANGE = 0x00001000 |
Metadata describing current item has changed.
Definition at line 46 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::MUTE_CHANGE = 0x00001004 |
Mute status has changed.
Definition at line 66 of file sbIMediacoreEvent.idl.
readonly attribute sbIMediacore sbIMediacoreEvent::origin |
Mediacore that generated the event.
Definition at line 272 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::PLUGIN_MISSING = 0x00008000 |
Plugin missing for requested format.
Definition at line 243 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::SEEKED = 0x00001005 |
Playback has progressed in an unusual way.
Definition at line 226 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::SEQUENCE_CHANGE = 0x00001505 |
Sequence recalculated.
Definition at line 103 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::SEQUENCE_END = 0x00001507 |
Sequence end.
This event will be fired by the sequencer when it runs out of items to play from its sequence. This event will not be fired when the sequence repeats because of repeat one or repeat all being turned on.
Definition at line 115 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::STREAM_BEFORE_PAUSE = 0x00004002 |
Stream is about to pause.
Definition at line 180 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::STREAM_BEFORE_START = 0x00004000 |
Stream is about to start.
Definition at line 163 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::STREAM_BEFORE_STOP = 0x00004005 |
Stream is about to stop.
Definition at line 203 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::STREAM_END = 0x00004004 |
const unsigned long sbIMediacoreEvent::STREAM_FOUND = 0x00002000 |
const unsigned long sbIMediacoreEvent::STREAM_HAS_VIDEO = 0x00002001 |
const unsigned long sbIMediacoreEvent::STREAM_PAUSE = 0x00004003 |
const unsigned long sbIMediacoreEvent::STREAM_START = 0x00004001 |
const unsigned long sbIMediacoreEvent::STREAM_STOP = 0x00004006 |
readonly attribute sbIMediacoreEventTarget sbIMediacoreEvent::target |
Event Target that dispatched the event.
Definition at line 276 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::TRACK_CHANGE = 0x00001501 |
Track playing has changed.
Definition at line 81 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::TRACK_INDEX_CHANGE = 0x00001502 |
Index in view of item currently playing has changed.
Definition at line 87 of file sbIMediacoreEvent.idl.
readonly attribute unsigned long sbIMediacoreEvent::type |
The event type.
Definition at line 258 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::UNINTIALIZED = 0x00000000 |
Definition at line 40 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::URI_CHANGE = 0x00001001 |
URI used for operation has changed.
Definition at line 51 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::VIDEO_SIZE_CHANGED = 0x00005000 |
Video size has changed.
Definition at line 235 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::VIEW_CHANGE = 0x00001504 |
Sequencer view changed.
Definition at line 97 of file sbIMediacoreEvent.idl.
const unsigned long sbIMediacoreEvent::VOLUME_CHANGE = 0x00001003 |
Volume has changed.
Definition at line 61 of file sbIMediacoreEvent.idl.