NavigationState
public enum NavigationState
Specifies the current navigation state of the TomTomNavigation object.
The current state changes under the following circumstances:
- When navigation is started by calling
start(), the navigation state changes toNavigationState.freeDriving. - When navigation is started by calling
start(navigationOptions:), the navigation state changes toNavigationState.activeGuidance. - When navigation is updated by calling
selectActiveRoute(routeId:), being in theNavigationState.freeDrivingstate, the navigation state changes toNavigationState.activeGuidance. - When navigation is resumed by calling
TomTomNavigation/resume(navigationResumeSnapshot:), the navigation state changes toNavigationState.activeGuidance. When navigation is stopped, the navigation state changes to
NavigationState.idle.
Important
This is a Public Preview API. It may be changed or removed at any time.
-
Idle state, navigation hasn’t started or was completed by calling
stop().Declaration
Swift
case idle -
Free driving state, navigation in progress without an active route.
Declaration
Swift
case freeDriving -
Active guidance state, navigation in progress with an active route.
Declaration
Swift
case activeGuidance
TomTom SDK for iOS (0.47.3)
NavigationState