RouteAddedReason

public struct RouteAddedReason : Hashable

Defines the reasons why a route was added to the navigation session.

  • Route added due to user deviation from the previous route.

    Declaration

    Swift

    public static let deviated: RouteAddedReason
  • Route added due to a blockage on the previous route.

    Declaration

    Swift

    public static let avoidBlockage: RouteAddedReason
  • Route added because the previous route itinerary became unreachable.

    Declaration

    Swift

    public static let withinRange: RouteAddedReason
  • Route added because it is proposed as a better route.

    Declaration

    Swift

    public static let betterRouteProposed: RouteAddedReason
  • Route added at the start of the navigation. Note, if the navigation is started with multiple routes they are added one at a time with the reason navigationStarted.

    Declaration

    Swift

    public static let navigationStarted: RouteAddedReason
  • Route added due to a manual navigation update using the TomTomNavigation.update method.

    Declaration

    Swift

    public static let manuallyUpdated: RouteAddedReason
  • Route added due to a language change. A change in the TomTomNavigation.preferredLanguage property notifies a route replan based on the new language preference.

    Declaration

    Swift

    public static let languageChanged: RouteAddedReason