Class Navigator

java.lang.Object
org.teavm.jso.browser.Navigator
All Implemented Interfaces:
org.teavm.jso.JSObject

public final class Navigator extends Object implements org.teavm.jso.JSObject
  • Method Details

    • isOnline

      public static boolean isOnline()
    • getGeolocation

      public static Geolocation getGeolocation()
    • isGeolocationAvailable

      public static boolean isGeolocationAvailable()
    • getLanguage

      public static String getLanguage()
    • getLanguages

      public static String[] getLanguages()
    • getGamepads

      public static Gamepad[] getGamepads()
    • hardwareConcurrency

      public static int hardwareConcurrency()
    • sendBeacon

      public static boolean sendBeacon(String url)
    • sendBeacon

      public static boolean sendBeacon(String url, String data)
    • sendBeacon

      public static boolean sendBeacon(String url, org.teavm.jso.JSObject data)