PlanningReason

public enum PlanningReason
extension PlanningReason: CustomStringConvertible

Represents the planning reason returned from the route planner.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Route planning was requested by the client.

    Declaration

    Swift

    case requested
  • The reference route contains road blockages.

    Declaration

    Swift

    case blockage
  • The alternative type is better than the reference route, according to the given planning criteria.

    Declaration

    Swift

    case betterProposal
  • At least one of the stops of the reference route is unreachable.

    Declaration

    Swift

    case outOfRange

CustomStringConvertible

  • A textual representation of the PlanningReason enum.

    Declaration

    Swift

    public var description: String { get }