Package org.loboevolution.html.js
Class NavigatorImpl
java.lang.Object
org.loboevolution.js.AbstractScriptableDelegate
org.loboevolution.html.js.NavigatorImpl
- All Implemented Interfaces:
Navigator
,ScriptableDelegate
Navigator class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAppName.getAppVersion.getGeolocation.getLanguage.int
getMaxTouchPoints.int
getMsMaxTouchPoints.getPlatform.getProduct.getUserAgent.boolean
isMsManipulationViewsEnabled.boolean
isMsPointerEnabled.boolean
isOnLine()
isOnLine.boolean
isPointerEnabled.toString()
boolean
vibrate
(int pattern) vibrate.boolean
vibrate
(int... pattern) vibrate.Methods inherited from class org.loboevolution.js.AbstractScriptableDelegate
getScriptable, setScriptable
-
Constructor Details
-
NavigatorImpl
Constructor for Navigator.
- Parameters:
window
- aWindowImpl
object.
-
-
Method Details
-
getGeolocation
getGeolocation.
- Returns:
- a
Geolocation
object.
-
isOnLine
public boolean isOnLine()isOnLine.
- Returns:
- a boolean.
-
getLanguage
getLanguage.
- Returns:
- a
String
object.
-
getAppName
getAppName.
- Returns:
- a
String
object.
-
getAppVersion
getAppVersion.
- Returns:
- a
String
object.
-
getPlatform
getPlatform.
- Returns:
- a
String
object.
-
getProduct
getProduct.
- Returns:
- a
String
object.
-
getUserAgent
getUserAgent.
- Returns:
- a
String
object.
-
getMaxTouchPoints
public int getMaxTouchPoints()getMaxTouchPoints.
- Specified by:
getMaxTouchPoints
in interfaceNavigator
- Returns:
- a
Integer
object.
-
isMsManipulationViewsEnabled
public boolean isMsManipulationViewsEnabled()isMsManipulationViewsEnabled.
- Specified by:
isMsManipulationViewsEnabled
in interfaceNavigator
- Returns:
- a boolean.
-
getMsMaxTouchPoints
public int getMsMaxTouchPoints()getMsMaxTouchPoints.
- Specified by:
getMsMaxTouchPoints
in interfaceNavigator
- Returns:
- a
Integer
object.
-
isMsPointerEnabled
public boolean isMsPointerEnabled()isMsPointerEnabled.
- Specified by:
isMsPointerEnabled
in interfaceNavigator
- Returns:
- a boolean.
-
isPointerEnabled
public boolean isPointerEnabled()isPointerEnabled.
- Specified by:
isPointerEnabled
in interfaceNavigator
- Returns:
- a boolean.
-
vibrate
public boolean vibrate(int pattern) vibrate.
-
vibrate
public boolean vibrate(int... pattern) vibrate.
-
toString
-