Navigator class
The state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities.
- Implemented types
- Available extensions
- Navigator$Typings
- NavigatorAutomationInformation$Typings
- NavigatorBadge$Typings
- NavigatorConcurrentHardware$Typings
- NavigatorContentUtils$Typings
- NavigatorCookies$Typings
- NavigatorID$Typings
- NavigatorLanguage$Typings
- NavigatorLocks$Typings
- NavigatorOnLine$Typings
- NavigatorPlugins$Typings
- NavigatorStorage$Typings
- Annotations
-
- @JS()
- @staticInterop
Constructors
-
factory
Properties
- appCodeName → String
-
Available on NavigatorID, provided by the NavigatorID$Typings extension
no setter - appName → String
-
Available on NavigatorID, provided by the NavigatorID$Typings extension
no setter - appVersion → String
-
Available on NavigatorID, provided by the NavigatorID$Typings extension
no setter -
Available on Navigator, provided by the Navigator$Typings extension
getter/setter pair -
clearAppBadge
↔ Future<
void> Function() -
Available on NavigatorBadge, provided by the NavigatorBadge$Typings extension
getter/setter pair - clipboard → Clipboard
-
Available on Navigator, provided by the Navigator$Typings extension
Available only in secure contexts.no setter -
Available on NavigatorCookies, provided by the NavigatorCookies$Typings extension
MDN Referenceno setter - credentials → CredentialsContainer
-
Available on Navigator, provided by the Navigator$Typings extension
Available only in secure contexts.no setter - doNotTrack → String?
-
Available on Navigator, provided by the Navigator$Typings extension
no setter - geolocation → Geolocation
-
Available on Navigator, provided by the Navigator$Typings extension
MDN Referenceno setter -
getGamepads
↔ List<
Gamepad?> Function() -
Available on Navigator, provided by the Navigator$Typings extension
getter/setter pair - hardwareConcurrency → num
-
Available on NavigatorConcurrentHardware, provided by the NavigatorConcurrentHardware$Typings extension
MDN Referenceno setter - hashCode → int
-
The hash code for this object.
no setterinherited
- javaEnabled ↔ bool Function()
-
Available on NavigatorPlugins, provided by the NavigatorPlugins$Typings extension
getter/setter pair - language → String
-
Available on NavigatorLanguage, provided by the NavigatorLanguage$Typings extension
MDN Referenceno setter -
languages
→ ReadonlyArray<
String> -
Available on NavigatorLanguage, provided by the NavigatorLanguage$Typings extension
MDN Referenceno setter - locks → LockManager
-
Available on NavigatorLocks, provided by the NavigatorLocks$Typings extension
MDN Referenceno setter - maxTouchPoints → num
-
Available on Navigator, provided by the Navigator$Typings extension
MDN Referenceno setter - mediaCapabilities → MediaCapabilities
-
Available on Navigator, provided by the Navigator$Typings extension
MDN Referenceno setter - mediaDevices → MediaDevices
-
Available on Navigator, provided by the Navigator$Typings extension
Available only in secure contexts.no setter - mediaSession → MediaSession
-
Available on Navigator, provided by the Navigator$Typings extension
MDN Referenceno setter - mimeTypes → MimeTypeArray
-
Available on NavigatorPlugins, provided by the NavigatorPlugins$Typings extension
no setter - onLine → bool
-
Available on NavigatorOnLine, provided by the NavigatorOnLine$Typings extension
MDN Referenceno setter - pdfViewerEnabled → bool
-
Available on NavigatorPlugins, provided by the NavigatorPlugins$Typings extension
MDN Referenceno setter - permissions → Permissions
-
Available on Navigator, provided by the Navigator$Typings extension
MDN Referenceno setter - platform → String
-
Available on NavigatorID, provided by the NavigatorID$Typings extension
no setter - plugins → PluginArray
-
Available on NavigatorPlugins, provided by the NavigatorPlugins$Typings extension
no setter - product → String
-
Available on NavigatorID, provided by the NavigatorID$Typings extension
no setter - productSub → String
-
Available on NavigatorID, provided by the NavigatorID$Typings extension
no setter - registerProtocolHandler ↔ void Function(String, Object)
-
Available on NavigatorContentUtils, provided by the NavigatorContentUtils$Typings extension
getter/setter pair -
requestMediaKeySystemAccess
↔ Future<
MediaKeySystemAccess> Function(String, List<MediaKeySystemConfiguration> ) -
Available on Navigator, provided by the Navigator$Typings extension
getter/setter pair -
requestMIDIAccess
↔ Future<
MIDIAccess> Function([MIDIOptions?]) -
Available on Navigator, provided by the Navigator$Typings extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendBeacon ↔ bool Function(Object, [Object?])
-
Available on Navigator, provided by the Navigator$Typings extension
getter/setter pair - serviceWorker → ServiceWorkerContainer
-
Available on Navigator, provided by the Navigator$Typings extension
Available only in secure contexts.no setter -
setAppBadge
↔ Future<
void> Function([num?]) -
Available on NavigatorBadge, provided by the NavigatorBadge$Typings extension
getter/setter pair -
Available on Navigator, provided by the Navigator$Typings extension
getter/setter pair - storage → StorageManager
-
Available on NavigatorStorage, provided by the NavigatorStorage$Typings extension
MDN Referenceno setter - userActivation → UserActivation
-
Available on Navigator, provided by the Navigator$Typings extension
MDN Referenceno setter - userAgent → String
-
Available on NavigatorID, provided by the NavigatorID$Typings extension
MDN Referenceno setter - vendor → String
-
Available on NavigatorID, provided by the NavigatorID$Typings extension
no setter - vendorSub → String
-
Available on NavigatorID, provided by the NavigatorID$Typings extension
no setter - vibrate ↔ bool Function(Object)
-
Available on Navigator, provided by the Navigator$Typings extension
getter/setter pair - wakeLock → WakeLock
-
Available on Navigator, provided by the Navigator$Typings extension
MDN Referenceno setter - webdriver → bool
-
Available on NavigatorAutomationInformation, provided by the NavigatorAutomationInformation$Typings extension
MDN Referenceno setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited