Package com.mapfactor.sdk.navigation
Interface NavigationStatusListener
public interface NavigationStatusListener
Navigation status listener
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called before a navigation instruction message is playedvoid
Called when emergency mode is activated during navigationvoid
Called when starting navigation failedvoid
onNavigationStarted
(int routeId) Called when navigation has startedvoid
Called when navigation has stoppedvoid
onRouteAlternativeSelected
(int routeId) Called when a route is selected from alternative routes computed earliervoid
onRouteComputationFinished
(int routeId) Called when navigation route computation has finishedvoid
Called when navigation route computation has startedvoid
Called when navigation route computation failed to find a routevoid
onRouteRecomputationFinished
(int oldRouteId, int newRouteId) Called when navigation route computation has finishedvoid
onRouteRecomputationStarted
(int oldRouteId) Called when navigation route computation has started
-
Method Details
-
onRouteComputationStarted
void onRouteComputationStarted()Called when navigation route computation has started- Since:
- 1.0
-
onRouteComputationFinished
void onRouteComputationFinished(int routeId) Called when navigation route computation has finished- Parameters:
routeId
- computed route ID- Since:
- 1.0
-
onRouteAlternativeSelected
void onRouteAlternativeSelected(int routeId) Called when a route is selected from alternative routes computed earlier- Parameters:
routeId
- selected route ID- Since:
- 2.7
-
onRouteRecomputationStarted
void onRouteRecomputationStarted(int oldRouteId) Called when navigation route computation has started- Parameters:
oldRouteId
- route ID being recomputed- Since:
- 1.0
-
onRouteRecomputationFinished
void onRouteRecomputationFinished(int oldRouteId, int newRouteId) Called when navigation route computation has finished- Parameters:
oldRouteId
- route ID that was recomputednewRouteId
- newly computed route ID- Since:
- 1.0
-
onRouteNotFound
void onRouteNotFound()Called when navigation route computation failed to find a route- Since:
- 1.0*
-