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 Geolocation
static String
static String[]
static int
static boolean
static boolean
isOnline()
static boolean
sendBeacon
(String url) static boolean
sendBeacon
(String url, String data) static boolean
sendBeacon
(String url, org.teavm.jso.JSObject data) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-