언어

TextLanguage.GetLocale(Int32) 메서드

정의

지정된 인덱스에서 언어 로캘을 반환합니다.

[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

매개 변수

index
Int32

정수 (int)

반품

이 값은 null일 수 없습니다.

특성

설명

지정된 인덱스에서 언어 로캘을 반환합니다. 로캘은 높은 신뢰도에서 낮은 신뢰도로 정렬됩니다. 사용 가능한 로캘 수는 getLocaleHypothesisCount()를 참조하세요.

throw: 지정된 인덱스가 범위를 벗어난 경우 IndexOutOfBoundsException입니다.

에 대한 android.view.textclassifier.TextLanguage.getLocaleAndroid 참조

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상