public interface NavigationListener
NavigationManager
object.Modifier and Type | Method and Description |
---|---|
void |
onDestinationReached()
Called when the user is close to the destination by less than
NavigationRequest.getDistanceToGoalThreshold() |
void |
onProgress(NavigationProgress progress)
Called when a new location is received and the route progress is updated
|
void |
onUserOutsideRoute()
Called when the user does not follow the route and is
NavigationRequest.getOutsideRouteThreshold() meters or more far from it |
void onDestinationReached()
NavigationRequest.getDistanceToGoalThreshold()
void onProgress(NavigationProgress progress)
void onUserOutsideRoute()
NavigationRequest.getOutsideRouteThreshold()
meters or more far from it