TextTrack
abstract class TextTrack :
EventTarget,
UnionAudioTrackOrTextTrackOrVideoTrack
Exposes the JavaScript TextTrack to Kotlin
Constructors
Properties
activeCues
open val activeCues: TextTrackCueList?
cues
open val cues: TextTrackCueList?
id
open val id: String
inBandMetadataTrackDispatchType
open val inBandMetadataTrackDispatchType: String
kind
open val kind: TextTrackKind
label
open val label: String
language
open val language: String
mode
open var mode: TextTrackMode
oncuechange
open var oncuechange: ((Event) -> dynamic)?
Functions
addCue
fun addCue(cue: TextTrackCue)
removeCue
fun removeCue(cue: TextTrackCue)