Speak

Description

Queues the given text for speaking. If some text is already being spoken then the given text will be spoken after the current speech has finished. This command can be called multiple times in quick succession to queue up a lot of text. You can call IsSpeaking to check when the queue is empty and all text has been spoken, or cancelled. Note that there may be a delay on the first call to this command when an unfamiliar language has been set with SetSpeechLanguage. For example using French on a device setup for English will attempt to download the French language engine before starting to speak the text.

If the app is sent to the background then speech will stop and all text will be removed from the queue.

You can specify an optional delay in milliseconds to make the device wait before starting to say the text.

Currently only works on iOS and Android.

Definition

Speak( text )

Speak( text, delay )

Parameters