Dart SDK
dart:html
Navigator
class
Navigator
Properties
Methods
Properties
connection
cookieEnabled
credentials
doNotTrack
geofencing
geolocation
maxTouchPoints
mimeTypes
presentation
productSub
push
serviceWorker
storageQuota
vendor
vendorSub
persistentStorage
temporaryStorage
hardwareConcurrency
appCodeName
appName
appVersion
dartEnabled
platform
product
userAgent
language
languages
onLine
Methods
getUserMedia
getBattery
getGamepads
getStorageUpdates
isProtocolHandlerRegistered
registerProtocolHandler
sendBeacon
unregisterProtocolHandler
(Not documented.)
Annotations
DomName('Navigator')
Implements
NavigatorCpu
NavigatorLanguage
NavigatorOnLine
NavigatorID
Properties
NetworkInformation
connection
read-only
bool
cookieEnabled
read-only
CredentialsContainer
credentials
read-only
String
doNotTrack
read-only
Geofencing
geofencing
read-only
Geolocation
geolocation
read-only
int
maxTouchPoints
read-only
MimeTypeArray
mimeTypes
read-only
Presentation
presentation
read-only
String
productSub
read-only
PushManager
push
read-only
ServiceWorkerContainer
serviceWorker
read-only
StorageQuota
storageQuota
read-only
String
vendor
read-only
String
vendorSub
read-only
DeprecatedStorageQuota
persistentStorage
read-only
DeprecatedStorageQuota
temporaryStorage
read-only
int
hardwareConcurrency
read-only
String
appCodeName
read-only
String
appName
read-only
String
appVersion
read-only
bool
dartEnabled
read-only
String
platform
read-only
String
product
read-only
String
userAgent
read-only
String
language
read-only
List
<
String
>
languages
read-only
bool
onLine
read-only
Methods
getUserMedia
(
{
audio
:
false
,
video
:
false
}) →
Future
<
MediaStream
>
Gets a stream (video and or audio) from the local computer.
getBattery
(
) →
Future
getGamepads
(
) →
List
<
Gamepad
>
getStorageUpdates
(
) →
void
isProtocolHandlerRegistered
(
String
scheme
,
String
url
) →
String
registerProtocolHandler
(
String
scheme
,
String
url
,
String
title
) →
void
sendBeacon
(
String
url
,
data
) →
bool
unregisterProtocolHandler
(
String
scheme
,
String
url
) →
void