Share via


TextToSpeechService.OnStop Method

Definition

Notifies the service that it should stop any in-progress speech synthesis.

[Android.Runtime.Register("onStop", "()V", "GetOnStopHandler")]
protected abstract void OnStop ();
[<Android.Runtime.Register("onStop", "()V", "GetOnStopHandler")>]
abstract member OnStop : unit -> unit
Attributes

Remarks

Notifies the service that it should stop any in-progress speech synthesis. This method can be called even if no speech synthesis is currently in progress.

Can be called on multiple threads, but not on the synthesis thread.

Java documentation for android.speech.tts.TextToSpeechService.onStop().

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