TextClassifierEvent.Builder.SetLocale(ULocale) Method

Definition

Sets the detected locale.

[Android.Runtime.Register("setLocale", "(Landroid/icu/util/ULocale;)Landroid/view/textclassifier/TextClassifierEvent$Builder;", "GetSetLocale_Landroid_icu_util_ULocale_Handler", ApiSince=29)]
public virtual Java.Lang.Object SetLocale(Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("setLocale", "(Landroid/icu/util/ULocale;)Landroid/view/textclassifier/TextClassifierEvent$Builder;", "GetSetLocale_Landroid_icu_util_ULocale_Handler", ApiSince=29)>]
abstract member SetLocale : Android.Icu.Util.ULocale -> Java.Lang.Object
override this.SetLocale : Android.Icu.Util.ULocale -> Java.Lang.Object

Parameters

locale
ULocale

ULocale: This value may be null.

Returns

This value cannot be null.

Attributes

Remarks

Sets the detected locale.

Android reference for android.view.textclassifier.TextClassifierEvent.Builder.setLocale.

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