Share via


TextToSpeech.Stop Method

Definition

Interrupts the current utterance (whether played or rendered to file) and discards other utterances in the queue.

[Android.Runtime.Register("stop", "()I", "GetStopHandler")]
public virtual Android.Speech.Tts.OperationResult Stop ();
[<Android.Runtime.Register("stop", "()I", "GetStopHandler")>]
abstract member Stop : unit -> Android.Speech.Tts.OperationResult
override this.Stop : unit -> Android.Speech.Tts.OperationResult

Returns

#ERROR or #SUCCESS.

Attributes

Remarks

Interrupts the current utterance (whether played or rendered to file) and discards other utterances in the queue.

Java documentation for android.speech.tts.TextToSpeech.stop().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to