public class LocationEvent extends Event
Modifier and Type | Method and Description |
---|---|
double |
getAccuracy()
Gets the accuracy of location in meters.
|
double |
getAltitude()
Gets the height of the position above the WGS84 ellipsoid in meters.
|
double |
getAltitudeAccuracy()
Gets the accuracy of the altitude in meters.
|
LatLngBounds |
getBounds()
Gets the geographical bounds of the area user is located in (with respect to the accuracy of location).
|
double |
getHeading()
Gets the direction of travel in degrees counting clockwise from true North.
|
LatLng |
getLatlng()
Gets the detected geographical location of the user.
|
double |
getSpeed()
Gets the current velocity in meters per second.
|
double |
getTimestamp()
Gets the time when the position was acquired.
|
public final LatLng getLatlng()
public final LatLngBounds getBounds()
public final double getAccuracy()
public final double getAltitude()
public final double getAltitudeAccuracy()
public final double getHeading()
public final double getSpeed()
public final double getTimestamp()