A Text to speech api occasion ought to be utilized to assemble substance whenever it has finished its show. Complete the Text To Speech .OnInitListener to be associated the finishing of the show.
Effectively when you are finished utilizing the Text To Speech model, call the end() strategy to pass on the close by assets utilized by the Text To Speech motor.