VideoTrackList

JS
1.1
abstract class VideoTrackList : EventTarget

Exposes the JavaScript VideoTrackList to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript VideoTrackList to Kotlin

VideoTrackList()

Properties

JS
1.1

length

open val length: Int
JS
1.1

onaddtrack

open var onaddtrack: (TrackEvent) -> dynamic
JS
1.1

onchange

open var onchange: (Event) -> dynamic
JS
1.1

onremovetrack

open var onremovetrack: (TrackEvent) -> dynamic
JS
1.1

selectedIndex

open val selectedIndex: Int

Functions

JS
1.1

getTrackById

fun getTrackById(id: String): VideoTrack?

Extension Functions

JS
1.1

get

operator fun VideoTrackList.get(index: Int): VideoTrack?