Share via


TextToSpeech.Engine.ActionCheckTtsData Field

Definition

Activity Action: Starts the activity from the platform TextToSpeech engine to verify the proper installation and availability of the resource files on the system.

[Android.Runtime.Register("ACTION_CHECK_TTS_DATA")]
public const string ActionCheckTtsData;
[<Android.Runtime.Register("ACTION_CHECK_TTS_DATA")>]
val mutable ActionCheckTtsData : string

Field Value

Attributes

Remarks

Activity Action: Starts the activity from the platform TextToSpeech engine to verify the proper installation and availability of the resource files on the system. Upon completion, the activity will return one of the following codes: #CHECK_VOICE_DATA_PASS, #CHECK_VOICE_DATA_FAIL,

Moreover, the data received in the activity result will contain the following fields: <ul> <li>#EXTRA_AVAILABLE_VOICES which contains an ArrayList<String> of all the available voices. The format of each voice is: lang-COUNTRY-variant where COUNTRY and variant are optional (ie, "eng" or "eng-USA" or "eng-USA-FEMALE").</li> <li>#EXTRA_UNAVAILABLE_VOICES which contains an ArrayList<String> of all the unavailable voices (ones that user can install). The format of each voice is: lang-COUNTRY-variant where COUNTRY and variant are optional (ie, "eng" or "eng-USA" or "eng-USA-FEMALE").</li> </ul>

Java documentation for android.speech.tts.TextToSpeech.Engine.ACTION_CHECK_TTS_DATA.

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