How can we user navigator.mediaDevices.getUserMedi...
# javascript
a
How can we user navigator.mediaDevices.getUserMedia
b
external
a
Sorry, I don't understand
a
Thank you
b
Want to use a JavaScript built-in class named
Foo
that’s not in Kotlin yet? Use
external class Foo
. Want to use a JavaScript built-in global function
bar
that’s not in Kotlin yet? Use
external fun bar()
. Want to use a function
baz
that Kotlin didn’t add to a class
Qux
, but it’s definitely in JavaScript? Use
fun Qux.baz(): Unit = definedExternally