# Interface NavigatorBeta

interface NavigatorBeta {
appCodeName: string;
appName: string;
appVersion: string;
clipboard: Clipboard;
cookieEnabled: boolean;
credentials: CredentialsContainer;
doNotTrack: string;
geolocation: Geolocation;
globalPrivacyControl: boolean;
hardwareConcurrency: number;
language: string;
languages: readonly string[];
locks: LockManager;
maxTouchPoints: number;
mediaCapabilities: MediaCapabilities;
mediaDevices: MediaDevices;
mediaSession: MediaSession;
mimeTypes: MimeTypeArray;
onLine: boolean;
pdfViewerEnabled: boolean;
permissions: Permissions;
platform: string;
plugins: PluginArray;
product: string;
productSub: string;
serviceWorker: ServiceWorkerContainer;
storage: StorageManager;
userActivation: UserActivation;
userAgent: string;
vendor: string;
vendorSub: string;
wakeLock: WakeLock;
webdriver: boolean;
canShare(data?): boolean;
clearAppBadge(): Promise<void>;
getGamepads(): Gamepad[];
javaEnabled(): boolean;
registerProtocolHandler(scheme, url): void;
requestMIDIAccess(options?): Promise<MIDIAccess>;
requestMediaKeySystemAccess(keySystem, supportedConfigurations): Promise<MediaKeySystemAccess>;
sendBeacon(url, data?): boolean;
setAppBadge(contents?): Promise<void>;
share(data?): Promise<void>;
vibrate(pattern): boolean;
}

#### Hierarchy

- Navigator
  - NavigatorBeta

- Defined in jslib/src/lib/types/types.ts:18

#####
Index

### Properties

appCodeName
appName
appVersion
clipboard
cookieEnabled
credentials
doNotTrack
geolocation
globalPrivacyControl
hardwareConcurrency
language
languages
locks
maxTouchPoints
mediaCapabilities
mediaDevices
mediaSession
mimeTypes
onLine
pdfViewerEnabled
permissions
platform
plugins
product
productSub
serviceWorker
storage
userActivation
userAgent
vendor
vendorSub
wakeLock
webdriver

### Methods

canShare
clearAppBadge
getGamepads
javaEnabled
registerProtocolHandler
requestMIDIAccess
requestMediaKeySystemAccess
sendBeacon
setAppBadge
share
vibrate

## Properties

### `Readonly` appCodeName

appCodeName: string

#### Deprecated

MDN Reference

Inherited from Navigator.appCodeName

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16079

### `Readonly` appName

appName: string

#### Deprecated

MDN Reference

Inherited from Navigator.appName

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16085

### `Readonly` appVersion

appVersion: string

#### Deprecated

MDN Reference

Inherited from Navigator.appVersion

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16091

### `Readonly` clipboard

clipboard: Clipboard

Available only in secure contexts.

MDN Reference

Inherited from Navigator.clipboard

- Defined in node_modules/typescript/lib/lib.dom.d.ts:15970

### `Readonly` cookieEnabled

cookieEnabled: boolean

MDN Reference

Inherited from Navigator.cookieEnabled

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16070

### `Readonly` credentials

credentials: CredentialsContainer

Available only in secure contexts.

MDN Reference

Inherited from Navigator.credentials

- Defined in node_modules/typescript/lib/lib.dom.d.ts:15976

### `Readonly` doNotTrack

doNotTrack: string

Inherited from Navigator.doNotTrack

- Defined in node_modules/typescript/lib/lib.dom.d.ts:15977

### `Readonly` geolocation

geolocation: Geolocation

MDN Reference

Inherited from Navigator.geolocation

- Defined in node_modules/typescript/lib/lib.dom.d.ts:15979

### globalPrivacyControl

globalPrivacyControl: boolean

- Defined in jslib/src/lib/types/types.ts:19

### `Readonly` hardwareConcurrency

hardwareConcurrency: number

MDN Reference

Inherited from Navigator.hardwareConcurrency

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16056

### `Readonly` language

language: string

MDN Reference

Inherited from Navigator.language

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16128

### `Readonly` languages

languages: readonly string[]

MDN Reference

Inherited from Navigator.languages

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16130

### `Readonly` locks

locks: LockManager

MDN Reference

Inherited from Navigator.locks

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16136

### `Readonly` maxTouchPoints

maxTouchPoints: number

MDN Reference

Inherited from Navigator.maxTouchPoints

- Defined in node_modules/typescript/lib/lib.dom.d.ts:15981

### `Readonly` mediaCapabilities

mediaCapabilities: MediaCapabilities

MDN Reference

Inherited from Navigator.mediaCapabilities

- Defined in node_modules/typescript/lib/lib.dom.d.ts:15983

### `Readonly` mediaDevices

mediaDevices: MediaDevices

Available only in secure contexts.

MDN Reference

Inherited from Navigator.mediaDevices

- Defined in node_modules/typescript/lib/lib.dom.d.ts:15989

### `Readonly` mediaSession

mediaSession: MediaSession

MDN Reference

Inherited from Navigator.mediaSession

- Defined in node_modules/typescript/lib/lib.dom.d.ts:15991

### `Readonly` mimeTypes

mimeTypes: MimeTypeArray

#### Deprecated

MDN Reference

Inherited from Navigator.mimeTypes

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16150

### `Readonly` onLine

onLine: boolean

MDN Reference

Inherited from Navigator.onLine

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16141

### `Readonly` pdfViewerEnabled

pdfViewerEnabled: boolean

MDN Reference

Inherited from Navigator.pdfViewerEnabled

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16152

### `Readonly` permissions

permissions: Permissions

MDN Reference

Inherited from Navigator.permissions

- Defined in node_modules/typescript/lib/lib.dom.d.ts:15993

### `Readonly` platform

platform: string

#### Deprecated

MDN Reference

Inherited from Navigator.platform

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16097

### `Readonly` plugins

plugins: PluginArray

#### Deprecated

MDN Reference

Inherited from Navigator.plugins

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16158

### `Readonly` product

product: string

#### Deprecated

MDN Reference

Inherited from Navigator.product

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16103

### `Readonly` productSub

productSub: string

#### Deprecated

MDN Reference

Inherited from Navigator.productSub

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16109

### `Readonly` serviceWorker

serviceWorker: ServiceWorkerContainer

Available only in secure contexts.

MDN Reference

Inherited from Navigator.serviceWorker

- Defined in node_modules/typescript/lib/lib.dom.d.ts:15999

### `Readonly` storage

storage: StorageManager

MDN Reference

Inherited from Navigator.storage

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16170

### `Readonly` userActivation

userActivation: UserActivation

MDN Reference

Inherited from Navigator.userActivation

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16001

### `Readonly` userAgent

userAgent: string

MDN Reference

Inherited from Navigator.userAgent

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16111

### `Readonly` vendor

vendor: string

#### Deprecated

MDN Reference

Inherited from Navigator.vendor

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16117

### `Readonly` vendorSub

vendorSub: string

#### Deprecated

MDN Reference

Inherited from Navigator.vendorSub

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16123

### `Readonly` wakeLock

wakeLock: WakeLock

MDN Reference

Inherited from Navigator.wakeLock

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16003

### `Readonly` webdriver

webdriver: boolean

MDN Reference

Inherited from Navigator.webdriver

- Defined in node_modules/typescript/lib/lib.dom.d.ts:16043

## Methods

### canShare

- canShare(data?): boolean

- Available only in secure contexts.

  MDN Reference

  #### Parameters

  - `Optional` data: ShareData

  #### Returns boolean

  Inherited from Navigator.canShare

  - Defined in node_modules/typescript/lib/lib.dom.d.ts:16009

### clearAppBadge

- clearAppBadge(): Promise<void>

- MDN Reference

  #### Returns Promise<void>

  Inherited from Navigator.clearAppBadge

  - Defined in node_modules/typescript/lib/lib.dom.d.ts:16049

### getGamepads

- getGamepads(): Gamepad[]

- MDN Reference

  #### Returns Gamepad[]

  Inherited from Navigator.getGamepads

  - Defined in node_modules/typescript/lib/lib.dom.d.ts:16011

### javaEnabled

- javaEnabled(): boolean

- #### Returns boolean

  #### Deprecated

  MDN Reference

  Inherited from Navigator.javaEnabled

  - Defined in node_modules/typescript/lib/lib.dom.d.ts:16164

### registerProtocolHandler

- registerProtocolHandler(scheme, url): void

- Available only in secure contexts.

  MDN Reference

  #### Parameters

  - scheme: string
  - url: string | URL

  #### Returns void

  Inherited from Navigator.registerProtocolHandler

  - Defined in node_modules/typescript/lib/lib.dom.d.ts:16065

### requestMIDIAccess

- requestMIDIAccess(options?): Promise<MIDIAccess>

- Available only in secure contexts.

  MDN Reference

  #### Parameters

  - `Optional` options: MIDIOptions

  #### Returns Promise<MIDIAccess>

  Inherited from Navigator.requestMIDIAccess

  - Defined in node_modules/typescript/lib/lib.dom.d.ts:16017

### requestMediaKeySystemAccess

- requestMediaKeySystemAccess(keySystem, supportedConfigurations): Promise<MediaKeySystemAccess>

- Available only in secure contexts.

  MDN Reference

  #### Parameters

  - keySystem: string
  - supportedConfigurations: MediaKeySystemConfiguration[]

  #### Returns Promise<MediaKeySystemAccess>

  Inherited from Navigator.requestMediaKeySystemAccess

  - Defined in node_modules/typescript/lib/lib.dom.d.ts:16023

### sendBeacon

- sendBeacon(url, data?): boolean

- MDN Reference

  #### Parameters

  - url: string | URL
  - `Optional` data: BodyInit

  #### Returns boolean

  Inherited from Navigator.sendBeacon

  - Defined in node_modules/typescript/lib/lib.dom.d.ts:16025

### setAppBadge

- setAppBadge(contents?): Promise<void>

- MDN Reference

  #### Parameters

  - `Optional` contents: number

  #### Returns Promise<void>

  Inherited from Navigator.setAppBadge

  - Defined in node_modules/typescript/lib/lib.dom.d.ts:16051

### share

- share(data?): Promise<void>

- Available only in secure contexts.

  MDN Reference

  #### Parameters

  - `Optional` data: ShareData

  #### Returns Promise<void>

  Inherited from Navigator.share

  - Defined in node_modules/typescript/lib/lib.dom.d.ts:16031

### vibrate

- vibrate(pattern): boolean

- MDN Reference

  #### Parameters

  - pattern: VibratePattern

  #### Returns boolean

  Inherited from Navigator.vibrate

  - Defined in node_modules/typescript/lib/lib.dom.d.ts:16033