WorkerNavigator

A subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator.

MDN Reference

Properties

Link copied to clipboard
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

Functions

Link copied to clipboard
abstract suspend fun clearAppBadge()
Link copied to clipboard
Link copied to clipboard
abstract suspend fun setAppBadge(contents: JsLong = definedExternally)
Link copied to clipboard
abstract fun setAppBadgeAsync(contents: JsLong = definedExternally): Promise<Void>