|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Duration
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 |
|---|
static final Time DURATION_UNBOUNDED
getDuration.
static final Time DURATION_UNKNOWN
getDuration.
| Method Detail |
|---|
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 | |||||||||