TextLinks.Request.Builder.SetDefaultLocales(LocaleList) 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 ordered list of locale preferences that may be used to disambiguate the provided text.
[Android.Runtime.Register("setDefaultLocales", "(Landroid/os/LocaleList;)Landroid/view/textclassifier/TextLinks$Request$Builder;", "", ApiSince=28)]
public Android.Views.TextClassifiers.TextLinks.Request.Builder SetDefaultLocales(Android.OS.LocaleList? defaultLocales);
[<Android.Runtime.Register("setDefaultLocales", "(Landroid/os/LocaleList;)Landroid/view/textclassifier/TextLinks$Request$Builder;", "", ApiSince=28)>]
member this.SetDefaultLocales : Android.OS.LocaleList -> Android.Views.TextClassifiers.TextLinks.Request.Builder
Parameters
- defaultLocales
- LocaleList
LocaleList: ordered list of locale preferences that may be used to disambiguate the provided text. If no locale preferences exist, set this to null or an empty locale list.
Returns
this builder. This value cannot be null.
- Attributes
Remarks
Sets ordered list of locale preferences that may be used to disambiguate the provided text.
Android reference for android.view.textclassifier.TextLinks.Request.Builder.setDefaultLocales.
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.