toggle menu
kilua-project
0.0.17
common
switch theme
search in API
kilua-dom
/
web.dom
/
TextTrack
Text
Track
abstract
class
TextTrack
:
EventTarget
,
UnionAudioTrackOrTextTrackOrVideoTrack
,
JsAny
Exposes the JavaScript
TextTrack
to Kotlin
Members
Constructors
Text
Track
Link copied to clipboard
constructor
(
)
Properties
active
Cues
Link copied to clipboard
open
val
activeCues
:
TextTrackCueList
?
cues
Link copied to clipboard
open
val
cues
:
TextTrackCueList
?
id
Link copied to clipboard
open
val
id
:
String
in
Band
Metadata
Track
Dispatch
Type
Link copied to clipboard
open
val
inBandMetadataTrackDispatchType
:
String
kind
Link copied to clipboard
open
val
kind
:
TextTrackKind
label
Link copied to clipboard
open
val
label
:
String
language
Link copied to clipboard
open
val
language
:
String
mode
Link copied to clipboard
open
var
mode
:
TextTrackMode
oncuechange
Link copied to clipboard
open
var
oncuechange
:
(
Event
)
->
Unit
?
source
Buffer
Link copied to clipboard
open
val
sourceBuffer
:
SourceBuffer
?
Functions
add
Cue
Link copied to clipboard
fun
addCue
(
cue
:
TextTrackCue
)
add
Event
Listener
Link copied to clipboard
fun
addEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
)
fun
addEventListener
(
type
:
String
,
callback
:
EventListener
?
)
fun
addEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
,
options
:
Boolean
)
fun
addEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
,
options
:
AddEventListenerOptions
)
fun
addEventListener
(
type
:
String
,
callback
:
EventListener
?
,
options
:
Boolean
)
fun
addEventListener
(
type
:
String
,
callback
:
EventListener
?
,
options
:
AddEventListenerOptions
)
dispatch
Event
Link copied to clipboard
fun
dispatchEvent
(
event
:
Event
)
:
Boolean
remove
Cue
Link copied to clipboard
fun
removeCue
(
cue
:
TextTrackCue
)
remove
Event
Listener
Link copied to clipboard
fun
removeEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
)
fun
removeEventListener
(
type
:
String
,
callback
:
EventListener
?
)
fun
removeEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
,
options
:
Boolean
)
fun
removeEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
,
options
:
EventListenerOptions
)
fun
removeEventListener
(
type
:
String
,
callback
:
EventListener
?
,
options
:
Boolean
)
fun
removeEventListener
(
type
:
String
,
callback
:
EventListener
?
,
options
:
EventListenerOptions
)