TextToSpeechService.OnStop 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.
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.