WorkerNavigator class
The interface represents 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
self.navigator
property.
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
-
factory
Properties
- appCodeName → String
-
Available on NavigatorID, provided by the PropsNavigatorID extension
no setter - appName → String
-
Available on NavigatorID, provided by the PropsNavigatorID extension
no setter - appVersion → String
-
Available on NavigatorID, provided by the PropsNavigatorID extension
no setter - connection → NetworkInformation
-
Available on NavigatorNetworkInformation, provided by the PropsNavigatorNetworkInformation extension
no setter - deviceMemory → double
-
Available on NavigatorDeviceMemory, provided by the PropsNavigatorDeviceMemory extension
no setter - gpu → Gpu
-
Available on NavigatorGPU, provided by the PropsNavigatorGPU extension
no setter - hardwareConcurrency → int
-
Available on NavigatorConcurrentHardware, provided by the PropsNavigatorConcurrentHardware extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- hid → Hid
-
Available on WorkerNavigator, provided by the PropsWorkerNavigator extension
no setter - language → String
-
Available on NavigatorLanguage, provided by the PropsNavigatorLanguage extension
no setter -
languages
→ Iterable<
String> -
Available on NavigatorLanguage, provided by the PropsNavigatorLanguage extension
no setter - locks → LockManager
-
Available on NavigatorLocks, provided by the PropsNavigatorLocks extension
no setter - mediaCapabilities → MediaCapabilities
-
Available on WorkerNavigator, provided by the PropsWorkerNavigator extension
no setter - ml → Ml
-
Available on NavigatorML, provided by the PropsNavigatorML extension
no setter - onLine → bool
-
Available on NavigatorOnLine, provided by the PropsNavigatorOnLine extension
no setter - oscpu → String
-
Available on NavigatorID, provided by the PropsNavigatorID extension
no setter - permissions → Permissions
-
Available on WorkerNavigator, provided by the PropsWorkerNavigator extension
no setter - platform → String
-
Available on NavigatorID, provided by the PropsNavigatorID extension
no setter - product → String
-
Available on NavigatorID, provided by the PropsNavigatorID extension
no setter - productSub → String
-
Available on NavigatorID, provided by the PropsNavigatorID extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serial → Serial
-
Available on WorkerNavigator, provided by the PropsWorkerNavigator extension
no setter - serviceWorker → ServiceWorkerContainer
-
Available on WorkerNavigator, provided by the PropsWorkerNavigator extension
no setter - storage → StorageManager
-
Available on NavigatorStorage, provided by the PropsNavigatorStorage extension
no setter - usb → Usb
-
Available on WorkerNavigator, provided by the PropsWorkerNavigator extension
no setter - userAgent → String
-
Available on NavigatorID, provided by the PropsNavigatorID extension
no setter - userAgentData → NavigatorUAData
-
Available on NavigatorUA, provided by the PropsNavigatorUA extension
no setter - vendor → String
-
Available on NavigatorID, provided by the PropsNavigatorID extension
no setter - vendorSub → String
-
Available on NavigatorID, provided by the PropsNavigatorID extension
no setter
Methods
-
clearAppBadge(
) → Future< void> -
Available on NavigatorBadge, provided by the PropsNavigatorBadge extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAppBadge(
[int? contents]) → Future< void> -
Available on NavigatorBadge, provided by the PropsNavigatorBadge extension
-
taintEnabled(
) → bool -
Available on NavigatorID, provided by the PropsNavigatorID extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited