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 tofreeDriving. - When navigation is started by calling
start(navigationOptions:), the navigation state changes toactiveGuidance. - When navigation is updated by calling
setActiveRoutePlan(_:), being in thefreeDrivingstate, the navigation state changes toactiveGuidance. - When navigation is stopped by calling
stop(), the navigation state changes toidle.
-
Idle state, navigation has not started or was stopped.
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.53.1)
NavigationState