class TimeRanges extends Object
The TimeRanges interface is used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the <audio> and <video> elements.
MDN
- Annotations
- @JSType() @native() @JSGlobal()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TimeRanges
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new TimeRanges()
Value Members
-
def
end(index: Int): Double
Returns the time offset at which a specified time range ends.
Returns the time offset at which a specified time range ends.
MDN
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
def
length: Int
Returns the number of ranges in the object.
Returns the number of ranges in the object.
MDN
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
def
start(index: Int): Double
Returns the time for the start of the range with the specified index.
Returns the time for the start of the range with the specified index.
MDN
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
valueOf(): Any
- Definition Classes
- Object