Package org.htmlunit
Class WebClientOptions.Geolocation
java.lang.Object
org.htmlunit.WebClientOptions.Geolocation
- Enclosing class:
WebClientOptions
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGeolocation
(double latitude, double longitude, double accuracy, Double altitude, Double altitudeAccuracy, Double heading, Double speed) Ctor. -
Method Summary
-
Field Details
-
accuracy_
private final double accuracy_ -
latitude_
private final double latitude_ -
longitude_
private final double longitude_ -
altitude_
-
altitudeAccuracy_
-
heading_
-
speed_
-
-
Constructor Details
-
Geolocation
public Geolocation(double latitude, double longitude, double accuracy, Double altitude, Double altitudeAccuracy, Double heading, Double speed) Ctor.- Parameters:
latitude
- the latitudelongitude
- the longitudeaccuracy
- the accuracyaltitude
- the altitude or nullaltitudeAccuracy
- the altitudeAccuracy or nullheading
- the heading or nullspeed
- 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
- Returns:
- the longitude
-
getAltitudeAccuracy
- Returns:
- the altitudeAccuracy
-
getHeading
- Returns:
- the heading
-
getSpeed
- Returns:
- the speed
-