| Methods' Summary | 
| start | starts reading the stream from the current position. | 
| stop | stops reading the stream and leave the cursor at its current 
 position. | 
| isPlaying | indicates whether the stream is played or not. | 
| getDuration | gets the stream length | 
| setMediaTime | sets the new cursor position in the media stream. After using
 this method the stream is stopped. | 
| getMediaTime | gets the current position of the cursor in the stream | 
| setStopTime | sets the time at which to stop reading the stream. | 
| getStopTime | gets the time at which the stream will stop. The result
 is not guaranteed if no stop time has been set. | 
| setRate | sets the speed of the stream reading relatively to the normal
 speed. | 
| getRate | gets the speed of the stream reading relatively to the normal
 reading. | 
| setPlaybackLoop | sets whether the stream reading should restart at the stream 
 start after the end of the stream. | 
| isPlaybackLoop | indicates whether the stream reading will restart after the 
 end of the stream. | 
| setVolumeDB | sets the audio volume in decibel. | 
| getVolumeDB | gets the current audio volume in decibel | 
| setMute | sets the volume to 0or to its previous value. | 
| isMute | gets whether the volume is temporarily down to 0or not. | 
| getPreferredPlayerWindowSize | gets the preferred window size | 
| createPlayerWindow | gets a new player window for this stream control | 
| createFrameGrabber | gets a frame grabber for this stream. | 
| Methods' Details | 
| start 
| 
 
Descriptionstarts reading the stream from the current position.
  |  | 
| stop 
| 
 
Descriptionstops reading the stream and leave the cursor at its current 
 position.
  |  | 
| isPlaying 
| 
 
Descriptionindicates whether the stream is played or not.
 Returnstrue if the stream is played, false otherwise
  |  | 
| getDuration 
| 
 
Descriptiongets the stream length
 Returnsthe stream length in second
  |  | 
| setMediaTime 
| 
| void |  
| setMediaTime( | [in] double | fTime ); |  
 
Descriptionsets the new cursor position in the media stream. After using
 this method the stream is stopped.
 
 Parameter fTimethe new position to set in seconds
  |  | 
| getMediaTime 
| 
 
Descriptiongets the current position of the cursor in the stream
 Returnsthe cursor position in seconds
  |  | 
| setStopTime 
| 
| void |  
| setStopTime( | [in] double | fTime ); |  
 
Descriptionsets the time at which to stop reading the stream.
 Parameter fTimethe time at which to stop reading the stream in seconds
  |  | 
| getStopTime 
| 
 
Descriptiongets the time at which the stream will stop. The result
 is not guaranteed if no stop time has been set.
  |  | 
| setRate 
| 
| void |  
| setRate( | [in] double | fRate ); |  
 
Descriptionsets the speed of the stream reading relatively to the normal
 speed.
 Parameter fRatethe stream reading rate. 1.0means normal speed. |  | 
| getRate 
| 
 
Descriptiongets the speed of the stream reading relatively to the normal
 reading.
 Returnsthe relative speed. 1.0is the normal speed. |  | 
| setPlaybackLoop 
| 
| void |  
| setPlaybackLoop( | [in] boolean | bSet ); |  
 
Descriptionsets whether the stream reading should restart at the stream 
 start after the end of the stream.
 
 Parameter bSetloops if set to true, otherwise stops at the end of the 
 stream.
  |  | 
| isPlaybackLoop 
| 
| boolean |  
| isPlaybackLoop(); |  
 
Descriptionindicates whether the stream reading will restart after the 
 end of the stream.
 Returnstrue if the stream will loop, false otherwise.
  |  | 
| setVolumeDB 
| 
| void |  
| setVolumeDB( | [in] short | nDB ); |  
 
Descriptionsets the audio volume in decibel.
 
 Parameter nDBthe new volume in Decibel
  |  | 
| getVolumeDB 
| 
 
Descriptiongets the current audio volume in decibel
 Returnsthe volume in decibel
  |  | 
| setMute 
| 
| void |  
| setMute( | [in] boolean | bSet ); |  
 
Descriptionsets the volume to 0or to its previous value.Parameter bSetsets the volume to 0if true, and switch 
 to the previous non-null value if false |  | 
| isMute 
| 
 
Descriptiongets whether the volume is temporarily down to 0or not.Returnstrue if the volume is temporarily set to 0,
 false otherwise. |  | 
| getPreferredPlayerWindowSize 
| 
| ::com::sun::star::awt::Size |  
| getPreferredPlayerWindowSize(); |  
 
Descriptiongets the preferred window size
 Returnsthe ::com::sun::star::awt::Size
  |  | 
| createPlayerWindow 
| 
| XPlayerWindow |  
| createPlayerWindow( | [in] sequence< any > | aArguments ); |  
 
Descriptiongets a new player window for this stream control
 Parameter aArgumentsarguments passed to the window during its creation.
  |  | 
| createFrameGrabber 
| 
 
Descriptiongets a frame grabber for this stream.
  |  | 
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.