public final class TimeRanges extends JavaScriptObject
 A JavaScriptObject representing a time range returned from a
 MediaElement.
 
 
Experimental API: This API is still under development and is subject to change.
| Modifier | Constructor and Description | 
|---|---|
| protected  | TimeRanges() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toStringpublic double end(int index)
index.index - the range index, between 0 (inclusive) and length()
          (exclusive)start(int)public int length()