Packages

c

org.scalajs.dom.raw

TimeRanges

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
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimeRanges
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TimeRanges()

Value Members

  1. 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

  2. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  3. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  4. def length: Int

    Returns the number of ranges in the object.

    Returns the number of ranges in the object.

    MDN

  5. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  6. 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

  7. def toLocaleString(): String
    Definition Classes
    Object
  8. def valueOf(): Any
    Definition Classes
    Object