New Homepage Forums Special Shields Stopping the TextToSpeech Talking

This topic contains 1 reply, has 2 voices, and was last updated by avatar Amr 1 year, 8 months ago. This post has been viewed 207 times

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #123293

    I am using the TextToSpeech capability, and sometimes my code generates too much to say, and I want it to stop. Is there any way (programmatically) to tell the system to stop talking and forget everything in its queue of things to say (cleardown queue/buffer)?



    Once you call the TextToSpeech.say(“wordsToBeSpoken”); it won’t stop saying till it finishes all words. So, just don’t call it if not needed in some code situations.

    But may I ask what a situation that you do call it and thought, you want to stop its saying!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.