OnGuidanceUpdateListener
interface OnGuidanceUpdateListener
Used to inform caller about guidance.
Important: This is a Public Preview API. It may be changed or removed at any time.
Functions
Link copied to clipboard
Called when an announcement is generated.
Link copied to clipboard
abstract fun onDistanceToNextInstructionChanged(distance: Distance, instructions: List<GuidanceInstruction>, currentPhase: InstructionPhase)
Called with each location update that changes the distance to the instruction.
Link copied to clipboard
Called when the next instructions change.