AudioTrackList

abstract external class AudioTrackList : EventTarget

Exposes the JavaScript AudioTrackList to Kotlin

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
fun addEventListener(    type: String,     callback: (Event) -> Unit?,     options: dynamic = definedExternally)
fun addEventListener(    type: String,     callback: EventListener?,     options: dynamic = definedExternally)
Link copied to clipboard
fun dispatchEvent(event: Event): Boolean
Link copied to clipboard
Link copied to clipboard
fun removeEventListener(    type: String,     callback: (Event) -> Unit?,     options: dynamic = definedExternally)
fun removeEventListener(    type: String,     callback: EventListener?,     options: dynamic = definedExternally)

Properties

Link copied to clipboard
open val length: Int
Link copied to clipboard
open var onaddtrack: (TrackEvent) -> dynamic?
Link copied to clipboard
open var onchange: (Event) -> dynamic?
Link copied to clipboard
open var onremovetrack: (TrackEvent) -> dynamic?

Extensions

Link copied to clipboard
inline operator fun AudioTrackList.get(index: Int): AudioTrack?