Guidance

fun Guidance(    instructions: List<GuidanceInstruction>,     announcement: GuidanceAnnouncement? = null,     distanceToManeuver: Distance,     currentPhase: InstructionPhase)

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.