public static interface PositioningManager.OnPositionChangedListener
Modifier and Type | Method and Description |
---|---|
void |
onPositionFixChanged(PositioningManager.LocationMethod method,
PositioningManager.LocationStatus status)
A callback indicating that the position fix has changed.
|
void |
onPositionUpdated(PositioningManager.LocationMethod method,
GeoPosition position,
boolean isMapMatched)
A callback indicating that the position has been updated.
|
void onPositionUpdated(PositioningManager.LocationMethod method, GeoPosition position, boolean isMapMatched)
method
- A LocationMethod
providing the position update (GPS or Network)position
- A GeoPosition
representing the updated position. The position can
return null if the MapsEngine has not been initialized.isMapMatched
- A boolean stating if the position is map matched or not. Map matching
approximates user coordinates to the nearest road or navigation route If the
value is false then it means an unmatched(raw) position is received. This SDK
always returns false
.void onPositionFixChanged(PositioningManager.LocationMethod method, PositioningManager.LocationStatus status)
method
- A LocationMethod
providing the status update (GPS or Network)status
- A LocationStatus
representing the updated positioning status