Navigator class

Inheritance
Implements
Annotations
  • @DomName('Navigator')

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Constructors

Properties

appCodeNameString
@DocsEditable(), @DomName('Navigator.appCodeName'), @Experimental(), read-only
appNameString
@DocsEditable(), @DomName('Navigator.appName'), read-only
appVersionString
@DocsEditable(), @DomName('Navigator.appVersion'), read-only
connectionNetworkInformation
@DocsEditable(), @DomName('Navigator.connection'), @Experimental(), read-only
cookieEnabledbool
@DocsEditable(), @DomName('Navigator.cookieEnabled'), @Unstable(), read-only
credentialsCredentialsContainer
@DocsEditable(), @DomName('Navigator.credentials'), @Experimental(), read-only
dartEnabledbool
@DocsEditable(), @DomName('Navigator.dartEnabled'), @Experimental(), read-only
doNotTrackString
@DocsEditable(), @DomName('Navigator.doNotTrack'), @Experimental(), read-only
geolocationGeolocation
@DocsEditable(), @DomName('Navigator.geolocation'), @Unstable(), read-only
hardwareConcurrencyint
@DocsEditable(), @DomName('Navigator.hardwareConcurrency'), @Experimental(), read-only
languageString
@DocsEditable(), @DomName('Navigator.language'), read-only
languagesList<String>
@DocsEditable(), @DomName('Navigator.languages'), @Experimental(), read-only
maxTouchPointsint
@DocsEditable(), @DomName('Navigator.maxTouchPoints'), @Experimental(), read-only
mediaDevicesMediaDevices
@DocsEditable(), @DomName('Navigator.mediaDevices'), @Experimental(), read-only
mimeTypesMimeTypeArray
@DocsEditable(), @DomName('Navigator.mimeTypes'), @Experimental(), read-only
nfc → _NFC
@DocsEditable(), @DomName('Navigator.nfc'), @Experimental(), read-only
onLinebool
@DocsEditable(), @DomName('Navigator.onLine'), @Unstable(), read-only
permissionsPermissions
@DocsEditable(), @DomName('Navigator.permissions'), @Experimental(), read-only
persistentStorageDeprecatedStorageQuota
@DocsEditable(), @DomName('Navigator.webkitPersistentStorage'), @Experimental(), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI), read-only
platformString
@DocsEditable(), @DomName('Navigator.platform'), read-only
presentationPresentation
@DocsEditable(), @DomName('Navigator.presentation'), @Experimental(), read-only
productString
@DocsEditable(), @DomName('Navigator.product'), @Unstable(), read-only
productSubString
@DocsEditable(), @DomName('Navigator.productSub'), @Unstable(), read-only
servicesServicePortCollection
@DocsEditable(), @DomName('Navigator.services'), @Experimental(), read-only
serviceWorkerServiceWorkerContainer
@DocsEditable(), @DomName('Navigator.serviceWorker'), @Experimental(), read-only
storageStorageManager
@DocsEditable(), @DomName('Navigator.storage'), @Experimental(), read-only
storageQuotaStorageQuota
@DocsEditable(), @DomName('Navigator.storageQuota'), @Experimental(), read-only
temporaryStorageDeprecatedStorageQuota
@DocsEditable(), @DomName('Navigator.webkitTemporaryStorage'), @Experimental(), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI), read-only
userAgentString
@DocsEditable(), @DomName('Navigator.userAgent'), read-only
vendorString
@DocsEditable(), @DomName('Navigator.vendor'), @Unstable(), read-only
vendorSubString
@DocsEditable(), @DomName('Navigator.vendorSub'), @Unstable(), read-only
hashCodeint
read-only, inherited
runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

getBattery() → Future
@DocsEditable(), @DomName('Navigator.getBattery'), @Experimental()
getGamepads() → List<Gamepad>
@DocsEditable(), @DomName('Navigator.getGamepads'), @Experimental()
getUserMedia({audio: false, video: false }) → Future<MediaStream>
@DomName('Navigator.webkitGetUserMedia'), @Experimental(), @SupportedBrowser(SupportedBrowser.CHROME)

Gets a stream (video and or audio) from the local computer.

getVRDevices() → Future
@DocsEditable(), @DomName('Navigator.getVRDevices'), @Experimental()
registerProtocolHandler(String scheme, String url, String title) → void
@DocsEditable(), @DomName('Navigator.registerProtocolHandler'), @Unstable()
requestMediaKeySystemAccess(String keySystem, List<Map> supportedConfigurations) → Future
@DocsEditable(), @DomName('Navigator.requestMediaKeySystemAccess'), @Experimental()
requestMidiAccess([Map options ]) → Future
sendBeacon(String url, Object data) → bool
@DocsEditable(), @DomName('Navigator.sendBeacon'), @Experimental()
noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

toString() → String
inherited

Returns the result of the JavaScript objects toString method.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Navigator-class.html