public static interface NavigationProgressListener.DestinationAcceptanceHandler
confirmArrival(boolean)
, the host app can then indicate whether the user has indeed reached their destination.Modifier and Type | Method and Description |
---|---|
void |
confirmArrival(boolean didArrive)
Should be called by the host-app when the user reaches one of the destinations on their route.
|
void confirmArrival(boolean didArrive)
didArrive
- whether user considers themselves to have arrived.
Passing 'true' allows navigation to proceed to the next stop of a multipoint route;
or will end navigation if they have arrived at their final destination.
Passing 'false' allows navigation to continue unchanged; i.e. the route-leg will not auto-advance,
and subsequent re-route events may occur, until the user has indeed reached their destination.NavigationProgressListener.onDestinationReached(com.mapquest.navigation.model.location.Destination, boolean, com.mapquest.navigation.model.RouteLeg, com.mapquest.navigation.listener.NavigationProgressListener.DestinationAcceptanceHandler)