LocaleList.ForLanguageTags(String) Method

Definition

Generates a new LocaleList with the given language tags.

[Android.Runtime.Register("forLanguageTags", "(Ljava/lang/String;)Landroid/os/LocaleList;", "", ApiSince=24)]
public static Android.OS.LocaleList ForLanguageTags (string? list);
[<Android.Runtime.Register("forLanguageTags", "(Ljava/lang/String;)Landroid/os/LocaleList;", "", ApiSince=24)>]
static member ForLanguageTags : string -> Android.OS.LocaleList

Parameters

list
String

The language tags to be included as a single String separated by commas.

Returns

A new instance with the Locale items identified by the given tags.

Attributes

Remarks

Generates a new LocaleList with the given language tags.

Java documentation for android.os.LocaleList.forLanguageTags(java.lang.String).

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