Android.Speech.Tts.TextToSpeech.PlaySilentUtterance Method
Plays silence for the specified amount of time using the specified queue mode.

Syntax

[Android.Runtime.Register("playSilentUtterance", "(JILjava/lang/String;)I", "GetPlaySilentUtterance_JILjava_lang_String_Handler")]
[return:Android.Runtime.GeneratedEnum]
public virtual OperationResult PlaySilentUtterance (long durationInMs, [Android.Runtime.GeneratedEnum] QueueMode queueMode, string utteranceId)

Parameters

durationInMs
The duration of the silence.
queueMode
TextToSpeech.QUEUE_ADD or TextToSpeech.QUEUE_FLUSH.
utteranceId
An unique identifier for this request.

Returns

Documentation for this section has not yet been entered.

Remarks

Plays silence for the specified amount of time using the specified queue mode. This method is asynchronous, i.e. the method just adds the request to the queue of TTS requests and then returns. The synthesis might not have finished (or even started!) at the time when this method returns. In order to reliably detect errors during synthesis, we recommend setting an utterance progress listener (see TextToSpeech.SetOnUtteranceProgressListener(UtteranceProgressListener)) and using the NoType:android/speech/tts/TextToSpeech$Engine;Href=../../../../reference/android/speech/tts/TextToSpeech.Engine.html#KEY_PARAM_UTTERANCE_ID parameter.

[Android Documentation]

Requirements

Namespace: Android.Speech.Tts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 4