Interface NavigationStatusListener


public interface NavigationStatusListener
Navigation status listener
Since:
1.0
  • 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 recomputed
      newRouteId - newly computed route ID
      Since:
      1.0
    • onRouteRecomputationFailed

      void onRouteRecomputationFailed(int oldRouteId)
      Called when navigation route computation has finished and no route was found
      Parameters:
      oldRouteId - route ID that was recomputed
      Since:
      3.18
    • onRouteNotFound

      void onRouteNotFound()
      Called when navigation route computation failed to find a route
      Since:
      1.0*
    • onNavigationStarted

      void onNavigationStarted(int routeId)
      Called when navigation has started
      Parameters:
      routeId - route ID
      Since:
      1.0
    • onNavigationStopped

      void onNavigationStopped()
      Called when navigation has stopped
      Since:
      1.0
    • onNavigationFailedToStart

      void onNavigationFailedToStart(@NonNull Navigation.NavigationError error)
      Called when starting navigation failed
      Parameters:
      error - error code
      Since:
      1.0
    • onGpsSignalChanged

      void onGpsSignalChanged(boolean hasSignal)
      Called when GPS signal was acquired or lost
      Parameters:
      hasSignal - true when GPS signal was acquired, false when GPS signal was lost
      Since:
      4.6
    • onAboutToPlayNavigationMessage

      void onAboutToPlayNavigationMessage()
      Called before a navigation instruction message is played
      Since:
      1.0
    • onEmergencyModeChanged

      void onEmergencyModeChanged(@NonNull EmergencyModeManager.EmergencyModeStatus status)
      Called when emergency mode is activated during navigation
      Parameters:
      status - new emergency mode status
      Since:
      1.0