TTS-UtteranceProgressListener not being called

前端 未结 4 1364
再見小時候
再見小時候 2020-12-17 07:43

I don\'t want to put all my code here, so I\'m just putting the relevant pieces. If you need more, feel free to ask.

I\'m using Text To Speech (TTS) which leads t

4条回答
  •  一生所求
    2020-12-17 07:56

    Just use this simple code:

    mTTS.speak(text, TextToSpeech.QUEUE_FLUSH, null, "MyUniqueUtteranceId");
    

提交回复
热议问题