toggle menu
kilua-project
0.0.17
common
switch theme
search in API
kilua-dom
/
web.dom.mediacapture
/
MediaStreamTrack
Media
Stream
Track
abstract
class
MediaStreamTrack
:
EventTarget
,
JsAny
Exposes the JavaScript
MediaStreamTrack
to Kotlin
Members
Constructors
Media
Stream
Track
Link copied to clipboard
constructor
(
)
Properties
enabled
Link copied to clipboard
open
var
enabled
:
Boolean
id
Link copied to clipboard
open
val
id
:
String
kind
Link copied to clipboard
open
val
kind
:
String
label
Link copied to clipboard
open
val
label
:
String
muted
Link copied to clipboard
open
val
muted
:
Boolean
onended
Link copied to clipboard
open
var
onended
:
(
Event
)
->
Unit
?
onmute
Link copied to clipboard
open
var
onmute
:
(
Event
)
->
Unit
?
onoverconstrained
Link copied to clipboard
open
var
onoverconstrained
:
(
Event
)
->
Unit
?
onunmute
Link copied to clipboard
open
var
onunmute
:
(
Event
)
->
Unit
?
ready
State
Link copied to clipboard
open
val
readyState
:
MediaStreamTrackState
Functions
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
)
apply
Constraints
Link copied to clipboard
fun
applyConstraints
(
constraints
:
MediaTrackConstraints
)
:
Promise
<
Nothing
?
>
clone
Link copied to clipboard
fun
clone
(
)
:
MediaStreamTrack
dispatch
Event
Link copied to clipboard
fun
dispatchEvent
(
event
:
Event
)
:
Boolean
get
Capabilities
Link copied to clipboard
fun
getCapabilities
(
)
:
MediaTrackCapabilities
get
Constraints
Link copied to clipboard
fun
getConstraints
(
)
:
MediaTrackConstraints
get
Settings
Link copied to clipboard
fun
getSettings
(
)
:
MediaTrackSettings
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
)
stop
Link copied to clipboard
fun
stop
(
)