Guidance
data class Guidance( val instructions: List<GuidanceInstruction>, val announcement: GuidanceAnnouncement? = null, val distanceToManeuver: Distance, val currentPhase: InstructionPhase)
Content copied to clipboard
Set of information about upcoming maneuvers.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
instructions
List of next instructions, which can be the nearest instruction, other instructions within a given radius (1 kilometer by default), or both.
announcement
Announcement about the upcoming maneuver.
distanceToManeuver
Distance to the upcoming maneuver.
currentPhase
InstructionPhase of the upcoming maneuver.
Constructors
Link copied to clipboard
fun Guidance( instructions: List<GuidanceInstruction>, announcement: GuidanceAnnouncement? = null, distanceToManeuver: Distance, currentPhase: InstructionPhase)
Content copied to clipboard