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, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
intAt, length
numberAt
public final String getAppCodeName()
Navigator
getAppCodeName
in interface Navigator
public final String getAppName()
Navigator
getAppName
in interface Navigator
public final String getAppVersion()
Navigator
getAppVersion
in interface Navigator
public final boolean isCookieEnabled()
Navigator
isCookieEnabled
in interface Navigator
public final JsGeolocation getGeolocation()
getGeolocation
in interface Navigator
public final String getLanguage()
Navigator
getLanguage
in interface Navigator
public final JsDOMMimeTypeArray getMimeTypes()
Navigator
getMimeTypes
in interface Navigator
public final boolean isOnLine()
Navigator
public final String getPlatform()
Navigator
getPlatform
in interface Navigator
public final JsDOMPluginArray getPlugins()
Navigator
getPlugins
in interface Navigator
public final String getProduct()
Navigator
getProduct
in interface Navigator
public final String getProductSub()
Navigator
getProductSub
in interface Navigator
public final String getUserAgent()
Navigator
getUserAgent
in interface Navigator
public final String getVendor()
Navigator
public final String getVendorSub()
Navigator
getVendorSub
in interface Navigator
public final JsBatteryManager getWebkitBattery()
Navigator
battery
object you can use to get information about the battery charging status.getWebkitBattery
in interface Navigator
public final JsPointerLock getWebkitPointer()
Navigator
getWebkitPointer
in interface Navigator
public final void getStorageUpdates()
getStorageUpdates
in interface Navigator
public final boolean javaEnabled()
Navigator
javaEnabled
in interface Navigator
public final void registerProtocolHandler(String scheme, String url, String title)
Navigator
registerProtocolHandler
in interface Navigator
public final void webkitGetUserMedia(Mappable options, NavigatorUserMediaSuccessCallback successCallback, NavigatorUserMediaErrorCallback errorCallback)
webkitGetUserMedia
in interface Navigator
public final void webkitGetUserMedia(Mappable options, NavigatorUserMediaSuccessCallback successCallback)
webkitGetUserMedia
in interface Navigator
Copyright © 2018. All rights reserved.