org.davic.media
Interface MediaTimePositionControl

All Superinterfaces:
javax.media.Control

public interface MediaTimePositionControl
extends javax.media.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
 javax.media.Time getMediaTimePosition()
           
 javax.media.Time setMediaTimePosition(javax.media.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).
 
Methods inherited from interface javax.media.Control
getControlComponent
 

Method Detail

setMediaTimePosition

public javax.media.Time setMediaTimePosition(javax.media.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 javax.media.Time getMediaTimePosition()
Returns:
the current media time.