TextToSpeech.Shutdown Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.