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 thefreeDriving
state, the navigation state changes toactiveGuidance
. - When navigation is stopped by calling
stop()
, the navigation state changes toidle
.
Active guidance state, navigation in progress with an active route.
Declaration
Swift
case activeGuidance
Free driving state, navigation in progress without an active route.
Declaration
Swift
case freeDriving
Idle state, navigation has not started or was stopped.
Declaration
Swift
case idle