on Before Speak
Assign a function to this field to receive a callback before a text segment is passed to TextToSpeech.speak.
Use the passed TextToSpeech instance to set the language and voice to be used. The LocalizableString instance contains the text and the language of the text as a BCP 47 language code.