
public class JsNavigator extends JsElementalMixinBase implements Navigator
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
JsNavigator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppCodeName()
Returns the internal "code" name of the current browser.
|
String |
getAppName()
Returns the official name of the browser.
|
String |
getAppVersion()
Returns the version of the browser as a string.
|
JsGeolocation |
getGeolocation() |
String |
getLanguage()
Returns a string representing the language version of the browser.
|
JsDOMMimeTypeArray |
getMimeTypes()
Returns a list of the MIME types supported by the browser.
|
String |
getPlatform()
Returns a string representing the platform of the browser.
|
JsDOMPluginArray |
getPlugins()
Returns an array of the plugins installed in the browser.
|
String |
getProduct()
Returns the product name of the current browser.
|
String |
getProductSub()
Returns the build number of the current browser (e.g.
|
void |
getStorageUpdates() |
String |
getUserAgent()
Returns the user agent string for the current browser.
|
String |
getVendor()
Returns the vendor name of the current browser (e.g.
|
String |
getVendorSub()
Returns the vendor version number (e.g.
|
JsBatteryManager |
getWebkitBattery()
Returns a
battery
object you can use to get information about the battery charging status. |
JsPointerLock |
getWebkitPointer()
Returns a PointerLock object for the Mouse Lock API.
|
boolean |
isCookieEnabled()
Returns a boolean indicating whether cookies are enabled in the browser or not.
|
boolean |
isOnLine()
Returns a boolean indicating whether the browser is working online.
|
boolean |
javaEnabled()
Indicates whether the host browser is Java-enabled or not.
|
void |
registerProtocolHandler(String scheme,
String url,
String title)
Allows web sites to register themselves as a possible handler for a given protocol.
|
void |
webkitGetUserMedia(Mappable options,
NavigatorUserMediaSuccessCallback successCallback) |
void |
webkitGetUserMedia(Mappable options,
NavigatorUserMediaSuccessCallback successCallback,
NavigatorUserMediaErrorCallback errorCallback) |
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPanat, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAtcast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toStringintAt, lengthnumberAtpublic final String getAppCodeName()
NavigatorgetAppCodeName in interface Navigatorpublic final String getAppName()
NavigatorgetAppName in interface Navigatorpublic final String getAppVersion()
NavigatorgetAppVersion in interface Navigatorpublic final boolean isCookieEnabled()
NavigatorisCookieEnabled in interface Navigatorpublic final JsGeolocation getGeolocation()
getGeolocation in interface Navigatorpublic final String getLanguage()
NavigatorgetLanguage in interface Navigatorpublic final JsDOMMimeTypeArray getMimeTypes()
NavigatorgetMimeTypes in interface Navigatorpublic final boolean isOnLine()
Navigatorpublic final String getPlatform()
NavigatorgetPlatform in interface Navigatorpublic final JsDOMPluginArray getPlugins()
NavigatorgetPlugins in interface Navigatorpublic final String getProduct()
NavigatorgetProduct in interface Navigatorpublic final String getProductSub()
NavigatorgetProductSub in interface Navigatorpublic final String getUserAgent()
NavigatorgetUserAgent in interface Navigatorpublic final String getVendor()
Navigatorpublic final String getVendorSub()
NavigatorgetVendorSub in interface Navigatorpublic final JsBatteryManager getWebkitBattery()
Navigatorbattery
object you can use to get information about the battery charging status.getWebkitBattery in interface Navigatorpublic final JsPointerLock getWebkitPointer()
NavigatorgetWebkitPointer in interface Navigatorpublic final void getStorageUpdates()
getStorageUpdates in interface Navigatorpublic final boolean javaEnabled()
NavigatorjavaEnabled in interface Navigatorpublic final void registerProtocolHandler(String scheme, String url, String title)
NavigatorregisterProtocolHandler in interface Navigatorpublic final void webkitGetUserMedia(Mappable options, NavigatorUserMediaSuccessCallback successCallback, NavigatorUserMediaErrorCallback errorCallback)
webkitGetUserMedia in interface Navigatorpublic final void webkitGetUserMedia(Mappable options, NavigatorUserMediaSuccessCallback successCallback)
webkitGetUserMedia in interface NavigatorCopyright © 2016. All rights reserved.