Dart
dart:html
Navigator class
description
Navigator class
Inheritance
Object
NavigatorConcurrentHardware
Navigator
Implemented types
NavigatorCookies
NavigatorLanguage
NavigatorOnLine
NavigatorAutomationInformation
NavigatorID
Annotations
@Native("Navigator")
Properties
appCodeName
→
String
final
appName
→
String
final
appVersion
→
String
final
budget
→ _BudgetService
final
clipboard
→ _Clipboard
final
connection
→
NetworkInformation
final
cookieEnabled
→
bool
@Unstable(), final
credentials
→
CredentialsContainer
final
dartEnabled
→
bool
final
deviceMemory
→
num
final
doNotTrack
→
String
final
geolocation
→
Geolocation
@Unstable(), final
language
→
String
read-only, override
languages
→
List
<
String
>
final
maxTouchPoints
→
int
final
mediaCapabilities
→
MediaCapabilities
final
mediaDevices
→
MediaDevices
final
mediaSession
→
MediaSession
final
mimeTypes
→
MimeTypeArray
final
nfc
→ _NFC
final
onLine
→
bool
@Unstable(), final
permissions
→
Permissions
final
persistentStorage
→
DeprecatedStorageQuota
@JSName('webkitPersistentStorage'), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI), final
platform
→
String
final
presentation
→
Presentation
final
product
→
String
@Unstable(), final
productSub
→
String
@Unstable(), final
serviceWorker
→
ServiceWorkerContainer
final
storage
→
StorageManager
final
temporaryStorage
→
DeprecatedStorageQuota
@JSName('webkitTemporaryStorage'), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI), final
userAgent
→
String
final
vendor
→
String
@Unstable(), final
vendorSub
→
String
@Unstable(), final
vr
→
VR
final
webdriver
→
bool
final
hardwareConcurrency
→
int
final, inherited
hashCode
→
int
The hash code for this object.
[...]
read-only, inherited
runtimeType
→
Type
A representation of the runtime type of the object.
read-only, inherited
Methods
cancelKeyboardLock
(
)
→ void
getBattery
(
)
→
Future
getGamepads
(
)
→
List
<
Gamepad
>
getInstalledRelatedApps
(
)
→
Future
<
RelatedApplication
>
getUserMedia
(
{
dynamic
audio
:
false
,
dynamic
video
:
false
})
→
Future
<
MediaStream
>
Gets a stream (video and or audio) from the local computer.
[...]
@SupportedBrowser(SupportedBrowser.CHROME)
getVRDisplays
(
)
→
Future
registerProtocolHandler
(
String
scheme
,
String
url
,
String
title
)
→ void
@Unstable()
requestKeyboardLock
(
[
List
<
String
>
keyCodes
])
→
Future
requestMediaKeySystemAccess
(
String
keySystem
,
List
<
Map
>
supportedConfigurations
)
→
Future
requestMidiAccess
(
[
Map
options
])
→
Future
@JSName('requestMIDIAccess')
sendBeacon
(
String
url
,
Object
data
)
→
bool
share
(
[
Map
data
])
→
Future
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a non-existent method or property is accessed.
[...]
inherited
toString
(
)
→
String
Returns a string representation of this object.
inherited
Operators
operator ==
(
dynamic
other
)
→
bool
The equality operator.
[...]
inherited