Package org.teavm.jso.browser
Class Navigator
java.lang.Object
org.teavm.jso.browser.Navigator
- All Implemented Interfaces:
org.teavm.jso.JSObject
-
Method Summary
Modifier and TypeMethodDescriptionstatic Gamepad[]static Geolocationstatic Stringstatic String[]static intstatic booleanstatic booleanisOnline()static booleansendBeacon(String url) static booleansendBeacon(String url, String data) static booleansendBeacon(String url, org.teavm.jso.JSObject data) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teavm.jso.JSObject
cast
-
Method Details
-
isOnline
public static boolean isOnline() -
getGeolocation
-
isGeolocationAvailable
public static boolean isGeolocationAvailable() -
getLanguage
-
getLanguages
-
getGamepads
-
hardwareConcurrency
public static int hardwareConcurrency() -
sendBeacon
-
sendBeacon
-
sendBeacon
-