MediaTimePositionControl

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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).

Methods inherited from interface javax.media.Control
`getControlComponent`

Method Detail

### setMediaTimePosition

    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

    Time getMediaTimePosition()

  Returns:
    the current media time.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD