MPIInstruction
public struct MPIInstruction : Codable
MPIInstruction
represents a singular step or instruction of an MPIDirection
-
An optional string instruction to display to user
- Example: “Take elevator up to Upper Level”
Declaration
Swift
public let instruction: String?
-
An optional distance of
MPIInstruction
in meters- Example: 12.323179101508586
Declaration
Swift
public let distance: Double?