TextTrack

JS
1.1
abstract class TextTrack : 
    EventTarget,
    UnionAudioTrackOrTextTrackOrVideoTrack

Exposes the JavaScript TextTrack to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript TextTrack to Kotlin

TextTrack()

Properties

JS
1.1

activeCues

open val activeCues: TextTrackCueList?
JS
1.1

cues

open val cues: TextTrackCueList?
JS
1.1

id

open val id: String
JS
1.1

inBandMetadataTrackDispatchType

open val inBandMetadataTrackDispatchType: String
JS
1.1

kind

open val kind: TextTrackKind
JS
1.1

label

open val label: String
JS
1.1

language

open val language: String
JS
1.1

mode

open var mode: TextTrackMode
JS
1.1

oncuechange

open var oncuechange: ((Event) -> dynamic)?

Functions

JS
1.1

addCue

fun addCue(cue: TextTrackCue)
JS
1.1

removeCue

fun removeCue(cue: TextTrackCue)