Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3798

System.Speak on iOS - how to stop it from speaking?

$
0
0

I am wanting to include some text-to-speech for my mobile users. I am testing out the System.Speak built-in function. This will work, but I cannot get the system to stop speaking until it is finished. In the docs, it says there is a second parameter to allowInterrupt, but this does not seem to be available in iOS or Android

I tried including a second button to stop the speaking using the following (I used this previously in desktop when using the built-in speech synthesizer), but this has no impact, probably b/c the initial call cannot be interrupted

System.Speak("")

Any suggestions?

This is on Xojo 2024 r3, and I am looking for help in iOS and Android

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3798

Trending Articles