Package org.htmlunit

Class WebClientOptions.Geolocation

java.lang.Object
org.htmlunit.WebClientOptions.Geolocation
Enclosing class:
WebClientOptions

public static class WebClientOptions.Geolocation extends Object
  • Field Details

    • accuracy_

      private final double accuracy_
    • latitude_

      private final double latitude_
    • longitude_

      private final double longitude_
    • altitude_

      private final Double altitude_
    • altitudeAccuracy_

      private final Double altitudeAccuracy_
    • heading_

      private final Double heading_
    • speed_

      private final Double speed_
  • Constructor Details

    • Geolocation

      public Geolocation(double latitude, double longitude, double accuracy, Double altitude, Double altitudeAccuracy, Double heading, Double speed)
      Ctor.
      Parameters:
      latitude - the latitude
      longitude - the longitude
      accuracy - the accuracy
      altitude - the altitude or null
      altitudeAccuracy - the altitudeAccuracy or null
      heading - the heading or null
      speed - the speed or null
  • Method Details

    • 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