|
LibreOffice
LibreOffice 25.2 SDK API Reference
|
is the multimedia stream handling interface. More...
import"XPlayer.idl";
Public Member Functions | |
| void | start () |
| starts reading the stream from the current position. More... | |
| void | stop () |
| stops reading the stream and leave the cursor at its current position. More... | |
| boolean | isPlaying () |
| indicates whether the stream is played or not. More... | |
| double | getDuration () |
| gets the stream length More... | |
| void | setMediaTime ([in] double fTime) |
| sets the new cursor position in the media stream. More... | |
| double | getMediaTime () |
| gets the current position of the cursor in the stream More... | |
| void | setPlaybackLoop ([in] boolean bSet) |
| sets whether the stream reading should restart at the stream start after the end of the stream. More... | |
| boolean | isPlaybackLoop () |
| indicates whether the stream reading will restart after the end of the stream. More... | |
| void | setVolumeDB ([in] short nDB) |
| sets the audio volume in decibel. More... | |
| short | getVolumeDB () |
| gets the current audio volume in decibel More... | |
| void | setMute ([in] boolean bSet) |
sets the volume to 0 or to its previous value. More... | |
| boolean | isMute () |
gets whether the volume is temporarily down to 0 or not. More... | |
| ::com::sun::star::awt::Size | getPreferredPlayerWindowSize () |
| gets the preferred window size More... | |
| XPlayerWindow | createPlayerWindow ([in] sequence< any > aArguments) |
| gets a new player window for this stream control More... | |
| XFrameGrabber | createFrameGrabber () |
| gets a frame grabber for this stream. More... | |
is the multimedia stream handling interface.
This allows to perform every basic operation on videos and sounds.
| XFrameGrabber createFrameGrabber | ( | ) |
gets a frame grabber for this stream.
| XPlayerWindow createPlayerWindow | ( | [in] sequence< any > | aArguments | ) |
gets a new player window for this stream control
| aArguments | arguments passed to the window during its creation. |
| double getDuration | ( | ) |
gets the stream length
| double getMediaTime | ( | ) |
gets the current position of the cursor in the stream
| ::com::sun::star::awt::Size getPreferredPlayerWindowSize | ( | ) |
gets the preferred window size
| short getVolumeDB | ( | ) |
gets the current audio volume in decibel
| boolean isMute | ( | ) |
gets whether the volume is temporarily down to 0 or not.
TRUE if the volume is temporarily set to 0, FALSE otherwise. | boolean isPlaybackLoop | ( | ) |
indicates whether the stream reading will restart after the end of the stream.
TRUE if the stream will loop, FALSE otherwise. | boolean isPlaying | ( | ) |
indicates whether the stream is played or not.
TRUE if the stream is played, FALSE otherwise | void setMediaTime | ( | [in] double | fTime | ) |
sets the new cursor position in the media stream.
After using this method the stream is stopped.
| fTime | the new position to set in seconds |
| void setMute | ( | [in] boolean | bSet | ) |
sets the volume to 0 or to its previous value.
| bSet | sets the volume to 0 if TRUE, and switch to the previous non-null value if FALSE |
| void setPlaybackLoop | ( | [in] boolean | bSet | ) |
sets whether the stream reading should restart at the stream start after the end of the stream.
| bSet | loops if set to TRUE, otherwise stops at the end of the stream. |
| void setVolumeDB | ( | [in] short | nDB | ) |
sets the audio volume in decibel.
| nDB | the new volume in Decibel |
| void start | ( | ) |
starts reading the stream from the current position.
| void stop | ( | ) |
stops reading the stream and leave the cursor at its current position.
1.8.14