Navigator

abstract external class Navigator : 
    NavigatorID,
    NavigatorLanguage,
    NavigatorOnLine,
    NavigatorContentUtils,
    NavigatorCookies,
    NavigatorPlugins,
    NavigatorConcurrentHardware
(source)

Platform and version requirements: JS

Exposes the JavaScript Navigator to Kotlin

Constructors

<init>

Navigator()

Exposes the JavaScript Navigator to Kotlin

Properties

serviceWorker

open val serviceWorker: ServiceWorkerContainer

Inherited Properties

appCodeName

abstract val appCodeName: String

appName

abstract val appName: String

appVersion

abstract val appVersion: String

cookieEnabled

abstract val cookieEnabled: Boolean

hardwareConcurrency

abstract val hardwareConcurrency: Int

language

abstract val language: String

languages

abstract val languages: Array<out String>

mimeTypes

abstract val mimeTypes: MimeTypeArray

onLine

abstract val onLine: Boolean

oscpu

abstract val oscpu: String

platform

abstract val platform: String

plugins

abstract val plugins: PluginArray

product

abstract val product: String

productSub

abstract val productSub: String

userAgent

abstract val userAgent: String

vendor

abstract val vendor: String

vendorSub

abstract val vendorSub: String

Functions

vibrate

fun vibrate(pattern: dynamic): Boolean

Inherited Functions

isContentHandlerRegistered

abstract fun isContentHandlerRegistered(
    mimeType: String,
    url: String
): String

isProtocolHandlerRegistered

abstract fun isProtocolHandlerRegistered(
    scheme: String,
    url: String
): String

javaEnabled

abstract fun javaEnabled(): Boolean

registerContentHandler

abstract fun registerContentHandler(
    mimeType: String,
    url: String,
    title: String)

registerProtocolHandler

abstract fun registerProtocolHandler(
    scheme: String,
    url: String,
    title: String)

taintEnabled

abstract fun taintEnabled(): Boolean

unregisterContentHandler

abstract fun unregisterContentHandler(
    mimeType: String,
    url: String)

unregisterProtocolHandler

abstract fun unregisterProtocolHandler(
    scheme: String,
    url: String)