TextToSpeech.SpeechTextInQueue Method

Definition

Returns info whether a text is submitted and being processed by PlaySpeech method Handy for avoiding situations when a text is submitted, but audio clip is not yet ready because the audio source isn't playing yet. Example: yield return new WaitWhile(() => textToSpeechManager.SpeechTextInQueue() || textToSpeechManager.IsSpeaking())

C++
public:
 bool SpeechTextInQueue();

Returns

Applies to

Product Versions
MRTK2 Unity 2018 2.7.0
MRTK2 Unity 2019 2.7.0, 2.8.0
MRTK2 Unity 2020 2.7.0, 2.8.0