org.davic.media
Interface MediaTimePositionControl
- All Superinterfaces:
- Control
- public interface MediaTimePositionControl
- extends Control
This interface should be implemented to enable the application to position the media position in time (timeline control). The method getControl and getControls return the object implementing this interface if it is supported. For an ordinary broadcast player it is unlikely that this control is supported.
Method Summary |
Time |
getMediaTimePosition()
|
Time |
setMediaTimePosition(Time mediaTime)
Invocation of this method repositions the media time position as closely as possible to the
requested media time (with as little disruption as possible if the player is playing).
|
setMediaTimePosition
public Time setMediaTimePosition(Time mediaTime)
- Invocation of this method repositions the media time position as closely as possible to the
requested media time (with as little disruption as possible if the player is playing).
The time positions are specified as a javax.media.time.
- Parameters:
mediaTime
- the required media time position
- Returns:
- the position in time that was actually set.
getMediaTimePosition
public Time getMediaTimePosition()
- Returns:
- the current media time.