PlanningReason
public enum PlanningReason
extension PlanningReason: CustomStringConvertible
Represents the planning reason returned from the route planner.
-
Route planning was requested by the client.
Declaration
Swift
case requested
-
The reference route contains road blockages due to time restriction, vehicle restriction, etc.
Declaration
Swift
case blockage
-
After replanning with the same planning criteria, a better route was found, e.g. due to changed traffic conditions.
Declaration
Swift
case betterProposal
-
At least one of the stops of the reference route is unreachable.
Declaration
Swift
case outOfRange
-
A textual representation of the
PlanningReason
enum.Declaration
Swift
public var description: String { get }