public static class WebClientOptions.Geolocation extends Object implements Serializable
Constructor and Description |
---|
Geolocation(double latitude,
double longitude,
double accuracy,
Double altitude,
Double altitudeAccuracy,
Double heading,
Double speed)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
double |
getAccuracy() |
Double |
getAltitude() |
Double |
getAltitudeAccuracy() |
Double |
getHeading() |
double |
getLatitude() |
double |
getLongitude() |
Double |
getSpeed() |
public Geolocation(double latitude, double longitude, double accuracy, Double altitude, Double altitudeAccuracy, Double heading, Double speed)
latitude
- the latitude coordinate in decimal degreeslongitude
- the longitude coordinate in decimal degreesaccuracy
- the accuracy of the position in metersaltitude
- the altitude in meters above sea level, or null if unavailablealtitudeAccuracy
- the accuracy of the altitude in meters, or null if unavailableheading
- the direction of travel in degrees (0-359), or null if unavailablespeed
- the current speed in meters per second, or null if unavailablepublic double getAccuracy()
public double getLatitude()
public double getLongitude()
public Double getAltitude()
public Double getAltitudeAccuracy()
public Double getHeading()
public Double getSpeed()
Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.