I'm having trouble with the onDoneCallback. In my project, i need to stop a animation when the speech of the TTS is done, so i wrote a method and subscribed it in the onDoneCallback but this method is never called. How can i solve this? In which momment those callback are called by the TextToSpeech class?
I'm having trouble with the onDoneCallback. In my project, i need to stop a animation when the speech of the TTS is done, so i wrote a method and subscribed it in the onDoneCallback but this method is never called. How can i solve this? In which momment those callback are called by the TextToSpeech class?