# 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;
login: NavigatorLogin;
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?: ShareData): boolean;
clearAppBadge(): Promise<void>;
getGamepads(): Gamepad[];
javaEnabled(): boolean;
registerProtocolHandler(scheme: string, url: string | URL): void;
requestMediaKeySystemAccess(
keySystem: string,
supportedConfigurations: MediaKeySystemConfiguration[],
): Promise<MediaKeySystemAccess>;
requestMIDIAccess(options?: MIDIOptions): Promise<MIDIAccess>;
sendBeacon(url: string | URL, data?: BodyInit): boolean;
setAppBadge(contents?: number): Promise<void>;
share(data?: ShareData): Promise<void>;
vibrate(pattern: VibratePattern): boolean;
}

#### Hierarchy

- Navigator
  - NavigatorBeta

- Defined in packages/shared/src/types/runtimeTypes.ts:95

##### Index

### Properties

appCodeName
appName
appVersion
clipboard
cookieEnabled
credentials
doNotTrack
geolocation
globalPrivacyControl
hardwareConcurrency
language
languages
locks
login
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
requestMediaKeySystemAccess
requestMIDIAccess
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:21539

### `Readonly` appName

appName: string

#### Deprecated

MDN Reference

Inherited from Navigator.appName

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

### `Readonly` appVersion

appVersion: string

#### Deprecated

MDN Reference

Inherited from Navigator.appVersion

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

### `Readonly` clipboard

clipboard: Clipboard

The `clipboard` read-only property of the Navigator interface returns a Clipboard object used to read and write the clipboard's contents. Available only in secure contexts.

MDN Reference

Inherited from Navigator.clipboard

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

### `Readonly` cookieEnabled

cookieEnabled: boolean

MDN Reference

Inherited from Navigator.cookieEnabled

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

### `Readonly` credentials

credentials: CredentialsContainer

The `credentials` read-only property of the Navigator interface returns the CredentialsContainer object associated with the current document, which exposes methods to request credentials. Available only in secure contexts.

MDN Reference

Inherited from Navigator.credentials

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

### `Readonly` doNotTrack

doNotTrack: string

Inherited from Navigator.doNotTrack

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

### `Readonly` geolocation

geolocation: Geolocation

The `Navigator.geolocation` read-only property returns a device.

MDN Reference

Inherited from Navigator.geolocation

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

### globalPrivacyControl

globalPrivacyControl: boolean

- Defined in packages/shared/src/types/runtimeTypes.ts:96

### `Readonly` hardwareConcurrency

hardwareConcurrency: number

MDN Reference

Inherited from Navigator.hardwareConcurrency

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

### `Readonly` language

language: string

MDN Reference

Inherited from Navigator.language

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

### `Readonly` languages

languages: readonly string[]

MDN Reference

Inherited from Navigator.languages

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

### `Readonly` locks

locks: LockManager

MDN Reference

Inherited from Navigator.locks

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

### `Readonly` login

login: NavigatorLogin

The `login` read-only property of the Navigator interface provides access to the browser's NavigatorLogin object, which a federated identity provider (IdP) can use to set its login status when a user signs into or out of the IdP. Available only in secure contexts.

MDN Reference

Inherited from Navigator.login

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

### `Readonly` maxTouchPoints

maxTouchPoints: number

The `maxTouchPoints` read-only property of the contact points that are supported by the current device.

MDN Reference

Inherited from Navigator.maxTouchPoints

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

### `Readonly` mediaCapabilities

mediaCapabilities: MediaCapabilities

The `mediaCapabilities` read-only property of the Navigator interface references a MediaCapabilities object that can expose information about the decoding and encoding capabilities for a given media format and output capabilities.

MDN Reference

Inherited from Navigator.mediaCapabilities

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

### `Readonly` mediaDevices

mediaDevices: MediaDevices

The `mediaDevices` read-only property of the Navigator interface returns a MediaDevices object, which provides access to connected media input devices like cameras and microphones, as well as screen sharing. Available only in secure contexts.

MDN Reference

Inherited from Navigator.mediaDevices

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

### `Readonly` mediaSession

mediaSession: MediaSession

The `mediaSession` read-only property of the Navigator interface returns a MediaSession object that can be used to share with the browser metadata and other information about the current playback state of media being handled by a document.

MDN Reference

Inherited from Navigator.mediaSession

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

### `Readonly` mimeTypes

mimeTypes: MimeTypeArray

#### Deprecated

MDN Reference

Inherited from Navigator.mimeTypes

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

### `Readonly` onLine

onLine: boolean

MDN Reference

Inherited from Navigator.onLine

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

### `Readonly` pdfViewerEnabled

pdfViewerEnabled: boolean

MDN Reference

Inherited from Navigator.pdfViewerEnabled

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

### `Readonly` permissions

permissions: Permissions

The `permissions` read-only property of the Navigator interface returns a status of APIs covered by the Permissions API.

MDN Reference

Inherited from Navigator.permissions

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

### `Readonly` platform

platform: string

#### Deprecated

MDN Reference

Inherited from Navigator.platform

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

### `Readonly` plugins

plugins: PluginArray

#### Deprecated

MDN Reference

Inherited from Navigator.plugins

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

### `Readonly` product

product: string

#### Deprecated

MDN Reference

Inherited from Navigator.product

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

### `Readonly` productSub

productSub: string

#### Deprecated

MDN Reference

Inherited from Navigator.productSub

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

### `Readonly` serviceWorker

serviceWorker: ServiceWorkerContainer

The `serviceWorker` read-only property of the Navigator interface returns the ServiceWorkerContainer object for the associated document, which provides access to registration, removal, upgrade, and communication with the ServiceWorker. Available only in secure contexts.

MDN Reference

Inherited from Navigator.serviceWorker

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

### `Readonly` storage

storage: StorageManager

MDN Reference

Inherited from Navigator.storage

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

### `Readonly` userActivation

userActivation: UserActivation

The read-only `userActivation` property of the Navigator interface returns a UserActivation object which contains information about the current window's user activation state.

MDN Reference

Inherited from Navigator.userActivation

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

### `Readonly` userAgent

userAgent: string

MDN Reference

Inherited from Navigator.userAgent

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

### `Readonly` vendor

vendor: string

#### Deprecated

MDN Reference

Inherited from Navigator.vendor

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

### `Readonly` vendorSub

vendorSub: string

#### Deprecated

MDN Reference

Inherited from Navigator.vendorSub

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

### `Readonly` wakeLock

wakeLock: WakeLock

The `wakeLock` read-only property of the Navigator interface returns a WakeLock interface that allows a document to acquire a screen wake lock.

MDN Reference

Inherited from Navigator.wakeLock

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

### `Readonly` webdriver

webdriver: boolean

MDN Reference

Inherited from Navigator.webdriver

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

## Methods

### canShare

- canShare(data?: ShareData): boolean

  The `canShare()` method of the Navigator interface returns `true` if the equivalent call to navigator.share() would succeed. 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:21454

### clearAppBadge

- clearAppBadge(): Promise<void>

  MDN Reference

  #### Returns Promise<void>

  Inherited from Navigator.clearAppBadge

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

### getGamepads

- getGamepads(): Gamepad[]

  The `Navigator.getGamepads()` method returns an array of Elements in the array may be `null` if a gamepad disconnects during a session, so that the remaining gamepads retain the same index.

  MDN Reference

  #### Returns Gamepad[]

  Inherited from Navigator.getGamepads

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

### javaEnabled

- javaEnabled(): boolean

  #### Returns boolean

  #### Deprecated

  MDN Reference

  Inherited from Navigator.javaEnabled

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

### registerProtocolHandler

- registerProtocolHandler(scheme: string, url: string | 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:21525

### requestMediaKeySystemAccess

- requestMediaKeySystemAccess(
  keySystem: string,
  supportedConfigurations: MediaKeySystemConfiguration[],
  ): Promise<MediaKeySystemAccess>

  The `requestMediaKeySystemAccess()` method of the Navigator interface returns a Promise which delivers a MediaKeySystemAccess object that can be used to access a particular media key system, which can in turn be used to create keys for decrypting a media stream. 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:21474

### requestMIDIAccess

- requestMIDIAccess(options?: MIDIOptions): Promise<MIDIAccess>

  The `requestMIDIAccess()` method of the Navigator interface returns a Promise representing a request for access to MIDI devices on a user's system. 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:21467

### sendBeacon

- sendBeacon(url: string | URL, data?: BodyInit): boolean

  The `navigator.sendBeacon()` method Asynchronous sends an HTTP POST request containing a small amount of data to a web server.

  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:21480

### setAppBadge

- setAppBadge(contents?: number): 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:21511

### share

- share(data?: ShareData): Promise<void>

  The `share()` method of the Navigator interface invokes the native sharing mechanism of the device to share data such as text, URLs, or files. 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:21487

### vibrate

- vibrate(pattern: VibratePattern): boolean

  The `vibrate()` method of the Navigator interface pulses the vibration hardware on the device, if such hardware exists.

  MDN Reference

  #### Parameters

  - pattern: VibratePattern

  #### Returns boolean

  Inherited from Navigator.vibrate

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