|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.core.client.JavaScriptObject com.google.gwt.media.dom.client.TimeRanges
public final class TimeRanges
A JavaScriptObject
representing a time range returned from a
MediaElement
.
Experimental API: This API is still under development and is subject to change.
MediaElement.getBuffered()
,
MediaElement.getPlayed()
,
MediaElement.getSeekable()
Constructor Summary | |
---|---|
protected |
TimeRanges()
|
Method Summary | |
---|---|
double |
end(int index)
Returns the end time of the range indexed by index . |
int |
length()
Returns the number of distinct ranges contained in this object. |
double |
start(int index)
Returns the start time of the range indexed by index . |
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
---|
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected TimeRanges()
Method Detail |
---|
public double end(int index)
index
.
index
- the range index, between 0 (inclusive) and length()
(exclusive)
start(int)
public int length()
public double start(int index)
index
.
index
- the range index, between 0 (inclusive) and length()
(exclusive)
end(int)
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |