JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit

Class WebClientOptions.Geolocation

    • Constructor Detail

      • Geolocation

        public Geolocation(double latitude,
         double longitude,
         double accuracy,
         Double altitude,
         Double altitudeAccuracy,
         Double heading,
         Double speed)
        Ctor.
        Parameters:
        latitude - the latitude coordinate in decimal degrees
        longitude - the longitude coordinate in decimal degrees
        accuracy - the accuracy of the position in meters
        altitude - the altitude in meters above sea level, or null if unavailable
        altitudeAccuracy - the accuracy of the altitude in meters, or null if unavailable
        heading - the direction of travel in degrees (0-359), or null if unavailable
        speed - the current speed in meters per second, or null if unavailable
    • Method Detail

      • getAccuracy

        public double getAccuracy()
        Returns:
        the accuracy
      • getLatitude

        public double getLatitude()
        Returns:
        the latitude
      • getLongitude

        public double getLongitude()
        Returns:
        the longitude
      • getAltitude

        public Double getAltitude()
        Returns:
        the longitude
      • getAltitudeAccuracy

        public Double getAltitudeAccuracy()
        Returns:
        the altitudeAccuracy
      • getHeading

        public Double getHeading()
        Returns:
        the heading
      • getSpeed

        public Double getSpeed()
        Returns:
        the speed
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /