VideoTrackList
Constructors
<init>
Exposes the JavaScript VideoTrackList to Kotlin
VideoTrackList()
Properties
length
open val length: Int
onaddtrack
open var onaddtrack: ((TrackEvent) -> dynamic)?
onremovetrack
open var onremovetrack: ((TrackEvent) -> dynamic)?
selectedIndex
open val selectedIndex: Int
Functions
getTrackById
fun getTrackById(id: String): VideoTrack?
Extension Functions
get
operator fun VideoTrackList.get(index: Int): VideoTrack?