AudioTrackList

JS
1.1
abstract class AudioTrackList : EventTarget
(source)

Exposes the JavaScript AudioTrackList to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript AudioTrackList to Kotlin

AudioTrackList()

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)?

Functions

JS
1.1

getTrackById

fun getTrackById(id: String): AudioTrack?

Extension Functions

JS
1.1

get

operator fun AudioTrackList.get(index: Int): AudioTrack?