TextToSpeech.Shutdown Method

Definition

Releases the resources used by the TextToSpeech engine.

[Android.Runtime.Register("shutdown", "()V", "GetShutdownHandler")]
public virtual void Shutdown ();
[<Android.Runtime.Register("shutdown", "()V", "GetShutdownHandler")>]
abstract member Shutdown : unit -> unit
override this.Shutdown : unit -> unit
Attributes

Remarks

Releases the resources used by the TextToSpeech engine. It is good practice for instance to call this method in the onDestroy() method of an Activity so the TextToSpeech engine can be cleanly stopped.

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

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