import"sbIMediacorePlaybackControl.idl";
void sbIMediacorePlaybackControl::pause |
( |
| ) |
|
void sbIMediacorePlaybackControl::play |
( |
| ) |
|
void sbIMediacorePlaybackControl::seek |
( |
in unsigned long long |
position, |
|
|
in unsigned long |
flags |
|
) |
| |
Seek to a specified point, with some seeking flags set. A normal, simple seek can be done by simply setting the position attribute. This function is useful for more complex seek types (with flags set)
void sbIMediacorePlaybackControl::stop |
( |
| ) |
|
readonly attribute unsigned long long sbIMediacorePlaybackControl::duration |
The total duration of the stream currently being played, in milliseconds
- Exceptions
-
NS_ERROR_NOT_AVAILABLE | if the duration is unknown |
Definition at line 47 of file sbIMediacorePlaybackControl.idl.
readonly attribute boolean sbIMediacorePlaybackControl::isPlayingAudio |
readonly attribute boolean sbIMediacorePlaybackControl::isPlayingVideo |
attribute unsigned long long sbIMediacorePlaybackControl::position |
const unsigned long sbIMediacorePlaybackControl::SEEK_FLAG_KEYFRAME = 1 |
const unsigned long sbIMediacorePlaybackControl::SEEK_FLAG_NORMAL = 0 |
attribute nsIURI sbIMediacorePlaybackControl::uri |
The documentation for this interface was generated from the following file: