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)
Content copied to clipboard
Called with each location update that changes the distance to the instruction.
Link copied to clipboard
abstract fun onInstructionsChanged(instructions: List<GuidanceInstruction>)
Content copied to clipboard
Called when the next instructions change.