Dart API Referencedart:htmlNavigator

Navigator Interface

Returns a reference to the navigator object, which can be queried for information about the application running the script.

Methods

Code void getStorageUpdates() #

void getStorageUpdates();

Code bool javaEnabled() #

Indicates whether the host browser is Java-enabled or not.
bool javaEnabled();

Code GamepadList webkitGetGamepads() #

GamepadList webkitGetGamepads();

Code void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback successCallback, [NavigatorUserMediaErrorCallback errorCallback]) #

void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback successCallback, [NavigatorUserMediaErrorCallback errorCallback]);

Fields

Code final String appCodeName #

Returns the internal "code" name of the current browser. Do not rely on this property to return the correct value.
final String appCodeName;

Code final String appName #

Returns the official name of the browser. Do not rely on this property to return the correct value.
final String appName;

Code final String appVersion #

Returns the version of the browser as a string. Do not rely on this property to return the correct value.
final String appVersion;

Code final bool cookieEnabled #

Returns a boolean indicating whether cookies are enabled in the browser or not.
final bool cookieEnabled;

Code final Geolocation geolocation #

final Geolocation geolocation;

Code final String language #

Returns a string representing the language version of the browser.
final String language;

Code final DOMMimeTypeArray mimeTypes #

Returns a list of the MIME types supported by the browser.
final DOMMimeTypeArray mimeTypes;

Code final bool onLine #

Returns a boolean indicating whether the browser is working online.
final bool onLine;

Code final String platform #

Returns a string representing the platform of the browser.
final String platform;

Code final DOMPluginArray plugins #

Returns an array of the plugins installed in the browser.
final DOMPluginArray plugins;

Code final String product #

Returns the product name of the current browser. (e.g. "Gecko")
final String product;

Code final String productSub #

Returns the build number of the current browser (e.g. "20060909")
final String productSub;

Code final String userAgent #

Returns the user agent string for the current browser.
final String userAgent;

Code final String vendor #

Returns the vendor name of the current browser (e.g. "Netscape6")
final String vendor;

Code final String vendorSub #

Returns the vendor version number (e.g. "6.1")
final String vendorSub;

Code final BatteryManager webkitBattery #

Returns a battery object you can use to get information about the battery charging status.
final BatteryManager webkitBattery;

Code final PointerLock webkitPointer #

Returns a PointerLock object for the Mouse Lock API.
final PointerLock webkitPointer;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.