A Text to speech api event should be used to put together substance at whatever point it has completed its show. Complete the Text To Speech .OnInitListener to be connected the completing of the show.
Correctly when you are done using the Text To Speech model, call the end() methodology to pass on the nearby resources used by the Text To Speech engine.