TextLanguage.GetLocale(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the language locale at the specified index.
[Android.Runtime.Register("getLocale", "(I)Landroid/icu/util/ULocale;", "", ApiSince=29)]
public Android.Icu.Util.ULocale GetLocale (int index);
[<Android.Runtime.Register("getLocale", "(I)Landroid/icu/util/ULocale;", "", ApiSince=29)>]
member this.GetLocale : int -> Android.Icu.Util.ULocale
Parameters
- index
- Int32
Returns
- Attributes
Remarks
Returns the language locale at the specified index. Locales are ordered from high confidence to low confidence.
See #getLocaleHypothesisCount()
for the number of locales available.
Java documentation for android.view.textclassifier.TextLanguage.getLocale(int)
.
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.