Navigator

Constructors

Link copied to clipboard
constructor()
constructor()

Properties

Link copied to clipboard
abstract val appCodeName: String
Since Kotlin 1.1
abstract val appCodeName: String
Since Kotlin 1.8
Link copied to clipboard
abstract val appName: String
Since Kotlin 1.1
abstract val appName: String
Since Kotlin 1.8
Link copied to clipboard
abstract val appVersion: String
Since Kotlin 1.1
abstract val appVersion: String
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract val cookieEnabled: Boolean
Since Kotlin 1.1
abstract val cookieEnabled: Boolean
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract val language: String
Since Kotlin 1.1
abstract val language: String
Since Kotlin 1.8
Link copied to clipboard
abstract val languages: Array<out String>
Since Kotlin 1.1
abstract val languages: JsArray<out JsString>
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract val mimeTypes: MimeTypeArray
Since Kotlin 1.1
abstract val mimeTypes: MimeTypeArray
Since Kotlin 1.8
Link copied to clipboard
abstract val onLine: Boolean
Since Kotlin 1.1
abstract val onLine: Boolean
Since Kotlin 1.8
Link copied to clipboard
abstract val oscpu: String
Since Kotlin 1.1
abstract val oscpu: String
Since Kotlin 1.8
Link copied to clipboard
abstract val platform: String
Since Kotlin 1.1
abstract val platform: String
Since Kotlin 1.8
Link copied to clipboard
abstract val plugins: PluginArray
Since Kotlin 1.1
abstract val plugins: PluginArray
Since Kotlin 1.8
Link copied to clipboard
abstract val product: String
Since Kotlin 1.1
abstract val product: String
Since Kotlin 1.8
Link copied to clipboard
abstract val productSub: String
Since Kotlin 1.1
abstract val productSub: String
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract val userAgent: String
Since Kotlin 1.1
abstract val userAgent: String
Since Kotlin 1.8
Link copied to clipboard
abstract val vendor: String
Since Kotlin 1.1
abstract val vendor: String
Since Kotlin 1.8
Link copied to clipboard
abstract val vendorSub: String
Since Kotlin 1.1
abstract val vendorSub: String
Since Kotlin 1.8

Functions

Link copied to clipboard
fun getUserMedia(constraints: MediaStreamConstraints, successCallback: (MediaStream) -> Unit, errorCallback: (dynamic) -> Unit)
Since Kotlin 1.1
fun getUserMedia(constraints: MediaStreamConstraints, successCallback: (MediaStream) -> Unit, errorCallback: (JsAny) -> Unit)
Since Kotlin 1.8
Link copied to clipboard
abstract fun isContentHandlerRegistered(mimeType: String, url: String): String
Since Kotlin 1.1
abstract fun isContentHandlerRegistered(mimeType: String, url: String): String
Since Kotlin 1.8
Link copied to clipboard
abstract fun isProtocolHandlerRegistered(scheme: String, url: String): String
Since Kotlin 1.1
abstract fun isProtocolHandlerRegistered(scheme: String, url: String): String
Since Kotlin 1.8
Link copied to clipboard
abstract fun javaEnabled(): Boolean
Since Kotlin 1.1
abstract fun javaEnabled(): Boolean
Since Kotlin 1.8
Link copied to clipboard
abstract fun registerContentHandler(mimeType: String, url: String, title: String)
Since Kotlin 1.1
abstract fun registerContentHandler(mimeType: String, url: String, title: String)
Since Kotlin 1.8
Link copied to clipboard
abstract fun registerProtocolHandler(scheme: String, url: String, title: String)
Since Kotlin 1.1
abstract fun registerProtocolHandler(scheme: String, url: String, title: String)
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
abstract fun taintEnabled(): Boolean
Since Kotlin 1.1
abstract fun taintEnabled(): Boolean
Since Kotlin 1.8
Link copied to clipboard

For a Dynamic value caught in JS, returns the corresponding Throwable if it was thrown from Kotlin, or null otherwise.

Since Kotlin 1.8
Link copied to clipboard
abstract fun unregisterContentHandler(mimeType: String, url: String)
Since Kotlin 1.1
abstract fun unregisterContentHandler(mimeType: String, url: String)
Since Kotlin 1.8
Link copied to clipboard
abstract fun unregisterProtocolHandler(scheme: String, url: String)
Since Kotlin 1.1
abstract fun unregisterProtocolHandler(scheme: String, url: String)
Since Kotlin 1.8
Link copied to clipboard
fun <T : JsAny> JsAny.unsafeCast(): T

Cast JsAny to other Js type without runtime check

Since Kotlin 1.8
Link copied to clipboard
fun vibrate(pattern: dynamic): Boolean
Since Kotlin 1.1
fun vibrate(pattern: Int): Boolean
Since Kotlin 1.8