Package org.htmlunit
Class WebClientOptions.Geolocation
java.lang.Object
org.htmlunit.WebClientOptions.Geolocation
- All Implemented Interfaces:
Serializable
- Enclosing class:
WebClientOptions
- See Also:
-
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
-