setNextInstruction

fun setNextInstruction(instruction: GuidanceInstruction?, inFollowPhase: Boolean = false)

Deprecated

This will be removed from future releases after 2026-07-26.

Sets the maneuver icon.

Parameters

instruction

the next GuidanceInstruction used to determine the maneuver icon.

inFollowPhase

indicates that the current phase for instruction is Follow.