Contains data required by engines to synthesize speech.
See Also:
SynthesisRequest Members
Syntax
[Android.Runtime.Register("android/speech/tts/SynthesisRequest", DoNotGenerateAcw=true)]
public sealed class
SynthesisRequest :
Java.Lang.ObjectRemarks
Contains data required by engines to synthesize speech. This data is:
- The text to synthesize
- The synthesis locale, represented as a language, country and a variant.
The language is an ISO 639-3 letter language code, and the country is an
ISO 3166 alpha 3 code. The variant is not specified.
- The name of the voice requested for this synthesis. May be empty if
the client uses TextToSpeech.SetLanguage(Java.Util.Locale) instead of
TextToSpeech.SetVoice(Voice)
- The synthesis speech rate, with 100 being the normal, and
higher values representing higher speech rates.
- The voice pitch, with 100 being the default pitch.
Any additional parameters sent to the text to speech service are passed in
uninterpreted, see the
params argument in
TextToSpeech.Speak(Java.Lang.ICharSequence, Android.Speech.Tts.QueueMode, Android.Speech.Tts.QueueMode, Android.Speech.Tts.QueueMode)
and
TextToSpeech.SynthesizeToFile(Java.Lang.ICharSequence, Android.OS.Bundle, Android.OS.Bundle, Android.OS.Bundle).
[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