Share via


TextToSpeech.IsLanguageAvailable(Locale) Method

Definition

Checks if the specified language as represented by the Locale is available and supported.

[Android.Runtime.Register("isLanguageAvailable", "(Ljava/util/Locale;)I", "GetIsLanguageAvailable_Ljava_util_Locale_Handler")]
public virtual Android.Speech.Tts.LanguageAvailableResult IsLanguageAvailable (Java.Util.Locale? loc);
[<Android.Runtime.Register("isLanguageAvailable", "(Ljava/util/Locale;)I", "GetIsLanguageAvailable_Ljava_util_Locale_Handler")>]
abstract member IsLanguageAvailable : Java.Util.Locale -> Android.Speech.Tts.LanguageAvailableResult
override this.IsLanguageAvailable : Java.Util.Locale -> Android.Speech.Tts.LanguageAvailableResult

Parameters

loc
Locale

The Locale describing the language to be used.

Returns

Code indicating the support status for the locale. See #LANG_AVAILABLE, #LANG_COUNTRY_AVAILABLE, #LANG_COUNTRY_VAR_AVAILABLE, #LANG_MISSING_DATA and #LANG_NOT_SUPPORTED.

Attributes

Remarks

Checks if the specified language as represented by the Locale is available and supported.

Java documentation for android.speech.tts.TextToSpeech.isLanguageAvailable(java.util.Locale).

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