RouteReplanningReason

public enum RouteReplanningReason

Describes why the route has been replanned and how it is different from the previous route.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • A route with the same path was provided. Only the route info was updated.

    Declaration

    Swift

    case refresh
  • A route with a new path was provided because the previous route was blocked.

    Declaration

    Swift

    case blockage
  • A route with a new path was provided because it is more optimal.

    Declaration

    Swift

    case betterRoute
  • A route with a new path was provided because a deviation from the previous route has happened.

    Declaration

    Swift

    case deviation
  • A route with the same path was provided. Only its ** instruction / lane guidance ** coverage was extended.

    Declaration

    Swift

    case increment
  • A route with changed language.

    Declaration

    Swift

    case languageChange
  • Route stop of the reference route is unreachable.

    Declaration

    Swift

    case outOfRange
  • A flag indicating whether a route has changed path based on the replanning reason.

    Declaration

    Swift

    public var hasRouteChanged: Bool { get }