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:

    Declaration

    Swift

    public static let manual: RouteRemovedReason
  • 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