java.lang.Object | |
↳ | android.speech.tts.SynthesisRequest |
Contains data required by engines to synthesize speech. This data is:
setLanguage(Locale)
instead of
setVoice(Voice)
params
argument in speak(CharSequence, int, Bundle, String)
and synthesizeToFile(CharSequence, Bundle, File, String)
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the request caller Uid.
| |||||||||||
Gets the text which should be synthesized.
| |||||||||||
Gets the ISO 3-letter country code for the language to use.
| |||||||||||
Gets the ISO 3-letter language code for the language to use.
| |||||||||||
Gets the additional params, if any.
| |||||||||||
Gets the pitch to use.
| |||||||||||
Gets the speech rate to use.
| |||||||||||
This method was deprecated
in API level 21.
As of API level 21, replaced by
getCharSequenceText() .
| |||||||||||
Gets the language variant to use.
| |||||||||||
Gets the name of the voice to use.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Gets the text which should be synthesized.
Gets the ISO 3-letter country code for the language to use.
Gets the ISO 3-letter language code for the language to use.
Gets the speech rate to use. The normal rate is 100.
This method was deprecated
in API level 21.
As of API level 21, replaced by getCharSequenceText()
.
Gets the text which should be synthesized.