TTS toggle button?

U

unba1300

Guest
Hi. I have a button that turns on TTS for an edittext, but I'd like to stop the process if the user clicks on the button again while text is being spoken. I know about the stop command, but how do we determine if the text is still being spoken at the time the button is clicked? Thanks.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…