Navigator
abstract class Navigator :
NavigatorID,
NavigatorLanguage,
NavigatorOnLine,
NavigatorContentUtils,
NavigatorCookies,
NavigatorPlugins,
NavigatorConcurrentHardware
(source)
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)
requestMediaKeySystemAccess
fun requestMediaKeySystemAccess(
: String,
: Array<MediaKeySystemConfiguration>
): Promise<MediaKeySystemAccess>
vibrate
fun vibrate(: dynamic): Boolean