ImageTrackList

The ImageTrackList interface of the WebCodecs API represents a list of image tracks.

MDN Reference

Properties

Link copied to clipboard
open override val length: Int

The length property of the ImageTrackList interface returns the length of the ImageTrackList.

Link copied to clipboard

The ready property of the ImageTrackList interface returns a Promise that resolves when the ImageTrackList is populated with ImageTrack.

Link copied to clipboard

The selectedIndex property of the ImageTrackList interface returns the index of the selected track.

Link copied to clipboard

The selectedTrack property of the ImageTrackList interface returns an ImageTrack object representing the currently selected track.

Functions

Link copied to clipboard
open operator fun get(index: Int): ImageTrack
open operator fun get(key: Symbol.iterator): () -> JsIterator<ImageTrack>