Navigator

The state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities.

MDN Reference

Properties

Link copied to clipboard

Available only in secure contexts.

Link copied to clipboard
Link copied to clipboard

Available only in secure contexts.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val gpu: GPU

Available only in secure contexts.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Available only in secure contexts.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Available only in secure contexts.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun canShare(data: ShareData = definedExternally): Boolean

Available only in secure contexts.

Link copied to clipboard
abstract suspend fun clearAppBadge()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun registerProtocolHandler(scheme: String, url: String)

Available only in secure contexts.

abstract fun registerProtocolHandler(scheme: String, url: URL)
Link copied to clipboard

Available only in secure contexts.

Link copied to clipboard
suspend fun requestMIDIAccess(options: MIDIOptions = definedExternally): MIDIAccess

Available only in secure contexts.

Link copied to clipboard
fun requestMIDIAccessAsync(options: MIDIOptions = definedExternally): Promise<MIDIAccess>
Link copied to clipboard
fun sendBeacon(url: String, data: BodyInit? = definedExternally): Boolean
fun sendBeacon(url: URL, data: BodyInit? = definedExternally): Boolean
Link copied to clipboard
abstract suspend fun setAppBadge(contents: JsLong = definedExternally)
Link copied to clipboard
abstract fun setAppBadgeAsync(contents: JsLong = definedExternally): Promise<Void>
Link copied to clipboard
suspend fun share(data: ShareData = definedExternally)

Available only in secure contexts.

Link copied to clipboard
fun shareAsync(data: ShareData = definedExternally): Promise<Void>
Link copied to clipboard