Package es.situm.sdk.navigation
Interface NavigationListener
-
public interface NavigationListener
NavigationListener Interface to receive updates fromNavigationManager
object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onDestinationReached()
Called when the user is close to the destination by less thanNavigationRequest.getDistanceToGoalThreshold()
void
onProgress(NavigationProgress progress)
Called when a new location is received and the route progress is updatedvoid
onUserOutsideRoute()
Called when the user does not follow the route and isNavigationRequest.getOutsideRouteThreshold()
meters or more far from it
-
-
-
Method Detail
-
onDestinationReached
void onDestinationReached()
Called when the user is close to the destination by less thanNavigationRequest.getDistanceToGoalThreshold()
-
onProgress
void onProgress(NavigationProgress progress)
Called when a new location is received and the route progress is updated
-
onUserOutsideRoute
void onUserOutsideRoute()
Called when the user does not follow the route and isNavigationRequest.getOutsideRouteThreshold()
meters or more far from it
-
-