Android.Speech.Tts.TextToSpeechService.OnSynthesizeText Method
Tells the service to synthesize speech from the given text.

Syntax

[Android.Runtime.Register("onSynthesizeText", "(Landroid/speech/tts/SynthesisRequest;Landroid/speech/tts/SynthesisCallback;)V", "GetOnSynthesizeText_Landroid_speech_tts_SynthesisRequest_Landroid_speech_tts_SynthesisCallback_Handler")]
protected abstract void OnSynthesizeText (SynthesisRequest request, ISynthesisCallback callback)

Parameters

request
The synthesis request.
callback
The callback that the engine must use to make data available for playback or for writing to a file.

Remarks

Tells the service to synthesize speech from the given text. This method should block until the synthesis is finished. Used for requests from V1 clients (Android.Speech.Tts.TextToSpeech). Called on the synthesis thread.

[Android Documentation]

Requirements

Namespace: Android.Speech.Tts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14