RouteRemovedReason
public struct RouteRemovedReason : Hashable
Defines the reasons why a route was removed from the navigation session.
-
Route removed because the user has manually updated the route. This removal reason is used when:
- the navigation is updated using the
setActiveRoutePlan(_:)
method. - a better route proposal has been selected using the
selectActiveRoute(routeId:)
method or by decide by steering.
Declaration
Swift
public static let manual: RouteRemovedReason
- the navigation is updated using the
-
Route removed due to automatic replan during navigation. This removal reason is used when:
- There is a blockage on the route.
- The route is out of range for the current vehicle properties.
- The route is no longer being followed by the user. This includes any better routes proposed.
- A better route proposal has been automatically selected, see
BetterProposalAcceptanceMode.automatic
- The language has changed, see
TomTomNavigation.language
Declaration
Swift
public static let automaticReplan: RouteRemovedReason