|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Duration
interface provides a way to determine the
duration of the media being played by a media object.
Media objects that expose a media duration
implement this interface.
This is the JMF 1.0 Duration interface.
Field Summary | |
static Time |
DURATION_UNBOUNDED
Returned by getDuration . |
static Time |
DURATION_UNKNOWN
Returned by getDuration . |
Method Summary | |
Time |
getDuration()
Get the duration of the media represented by this object. |
Field Detail |
public static final Time DURATION_UNBOUNDED
getDuration
.
public static final Time DURATION_UNKNOWN
getDuration
.
Method Detail |
public Time getDuration()
getDuration
returns DURATION_UNKNOWN
.
Time
object representing the duration or DURATION_UNKNOWN.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |