SpeechAnnouncementListener

interface SpeechAnnouncementListener

This listener will be triggered when a voice announcement is about to be voiced.

The listener gives you the option to override any values and pass as the return value, which will be the value used for the voice announcement.

Functions

willVoice
Link copied to clipboard
abstract fun willVoice(announcement: VoiceInstructions): VoiceInstructions
Listener tied to voice announcements that are about to be voiced.