MediaDevices
Constructors
<init>
Exposes the JavaScript MediaDevices to Kotlin
MediaDevices
(
)
Properties
ondevicechange
open
var
ondevicechange
:
(
(
Event
)
->
dynamic
)
?
Functions
enumerateDevices
fun
enumerateDevices
(
)
:
Promise
<
Array
<
MediaDeviceInfo
>
>
getSupportedConstraints
fun
getSupportedConstraints
(
)
:
MediaTrackSupportedConstraints
getUserMedia
fun
getUserMedia
(
constraints
:
MediaStreamConstraints
=
definedExternally
)
:
Promise
<
MediaStream
>