setNextInstruction

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

Sets the maneuver icon.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

instruction

the next GuidanceInstruction used to determine the maneuver icon.

inFollowPhase

indicates that the current phase for instruction is Follow.