Tells the SyncMediaPlayer that the synthesizer is ready for playback. MUST Call this method after calling onTtsSynthesizerWaiting() or the SyncMediaPlayer will keep waiting for the synthesizer to be ready.
The synthesizer is considered ready by default.
Call this method when the synthesizer is not ready for playback. For example when loading voices.
MUST call onTtsSynthesizerReady() after calling waiting or the SyncMediaPlayer will keep waiting for the synthesizer to be ready.
The synthesizer is considered ready by default.
Call this whenever the speech synthesizer reaches a word boundary.
The id of the utterance.
The offset into the utterance text pointing at the start of the next word to be spoken.
The number of characters from the startOffset. Null if the length is not known.
Call this method when a utterance reaches its end.
Call this method when an error occurs that prevents the utterance from being spoken.
Call this method when the utterance is paused, due to some other reason than ITtsSynthesizer.pause() or ITtsSynthesizer.clearAndPause() being called, such as if the speech is paused by the underlying TTS service.
The caller should be ready to retry resuming playback again when play() is called.
Generated using TypeDoc
Used by ITtsSynthesizer implementations to report its playback state.