Navigator
abstract class Navigator :
NavigatorID,
NavigatorLanguage,
NavigatorOnLine,
NavigatorContentUtils,
NavigatorCookies,
NavigatorPlugins,
NavigatorConcurrentHardware
Exposes the JavaScript Navigator to Kotlin
Constructors
Properties
maxTouchPoints
open val maxTouchPoints: Int
mediaDevices
open val mediaDevices: MediaDevices
serviceWorker
open val serviceWorker: ServiceWorkerContainer
Functions
getUserMedia
fun getUserMedia(
: MediaStreamConstraints,
: (MediaStream) -> Unit,
: (dynamic) -> Unit)
vibrate
fun vibrate(: dynamic): Boolean