|
JSR-927 (Maintenance Release) | ||||||||||
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.
A Controller
that supports the Duration
interface
posts a DurationUpdateEvent
whenever its
duration changes.
Controller
,
DurationUpdateEvent
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.
|
JSR-927 (Maintenance Release) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |