javax.media
Interface Track
- All Superinterfaces:
- Duration
- All Known Implementing Classes:
- AbstractTrack
public interface Track
- extends Duration
Standard JMF class -- see this class in the JMF Javadoc.
Complete.
- Author:
- Ken Larson
FRAME_UNKNOWN
static final int FRAME_UNKNOWN
- See Also:
- Constant Field Values
TIME_UNKNOWN
static final Time TIME_UNKNOWN
getFormat
Format getFormat()
getStartTime
Time getStartTime()
isEnabled
boolean isEnabled()
mapFrameToTime
Time mapFrameToTime(int frameNumber)
mapTimeToFrame
int mapTimeToFrame(Time t)
readFrame
void readFrame(Buffer buffer)
- TODO: the API is not clear as to what readFrame should do in the case of an error, like an IOException.
setEnabled
void setEnabled(boolean t)
setTrackListener
void setTrackListener(TrackListener listener)