SpellCheckerSession.SpellCheckerSessionParams.Builder.SetLocale 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.
Sets the locale in which the spell checker should operate.
[Android.Runtime.Register("setLocale", "(Ljava/util/Locale;)Landroid/view/textservice/SpellCheckerSession$SpellCheckerSessionParams$Builder;", "", ApiSince=31)]
public Android.Views.TextService.SpellCheckerSession.SpellCheckerSessionParams.Builder SetLocale(Java.Util.Locale? locale);
[<Android.Runtime.Register("setLocale", "(Ljava/util/Locale;)Landroid/view/textservice/SpellCheckerSession$SpellCheckerSessionParams$Builder;", "", ApiSince=31)>]
member this.SetLocale : Java.Util.Locale -> Android.Views.TextService.SpellCheckerSession.SpellCheckerSessionParams.Builder
Parameters
- locale
- Locale
The requested spell checker locale, or null to use the user's language settings when that option is enabled.
Returns
This builder.
- Attributes
Remarks
Sets the locale in which the spell checker should operate.
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.