|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeLine
Represents a transmitted time line. Transmitted time lines start at one media time within a piece of content and finish at a later media time in that content. Transmitted time lines are valid at all media times between these points. They are either increment linearly or are paused. The value of a transmitted time line does not have any discontinuities.
Method Summary | |
---|---|
javax.media.Time |
getFirstMediaTime()
Returns the first media time at which this time line is valid. |
long |
getFirstTime()
Returns the first valid time in this time line. |
javax.media.Time |
getLastMediaTime()
Returns the last media time at which this time line is valid. |
long |
getLastTime()
Returns the last valid time in this time line. |
javax.media.Time |
getMediaTime(long time)
Translates a time in this time line into the corresponding media time. |
long |
getTime(javax.media.Time mediatime)
Translates a media time into the corresponding time in this timeline |
Method Detail |
---|
javax.media.Time getFirstMediaTime() throws TimeLineInvalidException
TimeLineInvalidException
- if the time line is no longer
valid in this piece of content. e.g. the piece of content is a
time shift recording and the end of the time line is no longer
within the bufferjavax.media.Time getLastMediaTime() throws TimeLineInvalidException
TimeLineInvalidException
- if the time line is no longer
valid in this piece of content. e.g. the piece of content is a
time shift recording and the end of the time line is no longer
within the bufferlong getFirstTime() throws TimeLineInvalidException
TimeLineInvalidException
- if the time line is no longer
valid in this piece of content. e.g. the piece of content is a
time shift recording and the end of the time line is no longer
within the bufferlong getLastTime() throws TimeLineInvalidException
TimeLineInvalidException
- if the time line is no longer
valid in this piece of content. e.g. the piece of content is a
time shift recording and the end of the time line is no longer
within the bufferjavax.media.Time getMediaTime(long time) throws TimeLineInvalidException, TimeOutOfRangeException
time
- a time in this time line
TimeLineInvalidException
- if the time line is no longer
valid in this piece of content. e.g. the piece of content is a
time shift recording and the end of the time line is no longer
within the buffer
TimeOutOfRangeException
- if the time specified is not within
this timelinelong getTime(javax.media.Time mediatime) throws TimeLineInvalidException, TimeOutOfRangeException
mediatime
- a media time
TimeLineInvalidException
- if the time line is no longer
valid in this piece of content. e.g. the piece of content is a
time shift recording and the end of the time line is no longer
within the buffer
TimeOutOfRangeException
- if the media time specified is not
within this timeline
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |