is the multimedia stream handling interface. More...
import "XPlayer.idl";
| Public Member Functions | |
| void | start () | 
| starts reading the stream from the current position. | |
| void | stop () | 
| stops reading the stream and leave the cursor at its current position. | |
| boolean | isPlaying () | 
| indicates whether the stream is played or not. | |
| double | getDuration () | 
| gets the stream length | |
| void | setMediaTime ([in] double fTime) | 
| sets the new cursor position in the media stream. | |
| double | getMediaTime () | 
| gets the current position of the cursor in the stream | |
| void | setPlaybackLoop ([in] boolean bSet) | 
| sets whether the stream reading should restart at the stream start after the end of the stream. | |
| boolean | isPlaybackLoop () | 
| indicates whether the stream reading will restart after the end of the stream. | |
| void | setVolumeDB ([in] short nDB) | 
| sets the audio volume in decibel. | |
| short | getVolumeDB () | 
| gets the current audio volume in decibel | |
| void | setMute ([in] boolean bSet) | 
| sets the volume to 0or to its previous value. | |
| boolean | isMute () | 
| gets whether the volume is temporarily down to 0or not. | |
| ::com::sun::star::awt::Size | getPreferredPlayerWindowSize () | 
| gets the preferred window size | |
| XPlayerWindow | createPlayerWindow ([in] sequence< any > aArguments) | 
| gets a new player window for this stream control | |
| XFrameGrabber | createFrameGrabber () | 
| gets a frame grabber for this stream. | |
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 0ifTRUE, and switch to the previous non-null value ifFALSE | 
| 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.