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
.
Important
This is a Public Preview API. It may be changed or removed at any time.
-
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