Interface EmergencyModeManager


public interface EmergencyModeManager
Emergency mode manager
Since:
1.0
  • Method Details

    • activateEmergencyMode

      boolean activateEmergencyMode(boolean immediately, boolean deactivateInDestination)
      Emergency mode activation.
      Parameters:
      immediately - true to activate emergency mode now resulting in immediate route recalculation, false to activate emergency mode after diverting from current navigation route. If there is no navigation active right now, emergency mode will be activated on navigation start regardless of this parameter value.
      deactivateInDestination - true to deactivate after reaching the destination or stopping the navigation, false to leave active for next navigation
      Returns:
      false when emergency mode is not licensed, true otherwise
      Since:
      1.0
    • deactivateEmergencyMode

      void deactivateEmergencyMode()
      Emergency mode deactivation
      Since:
      1.0
    • getEmergencyModeStatus

      void getEmergencyModeStatus(@NonNull EmergencyModeManager.EmergencyModeStatusListener emergencyModeStatusListener)
      Get emergency mode active status
      Parameters:
      emergencyModeStatusListener - listener to receive current emergency mode status
      Since:
      1.0