LocaleDisplayNames.VariantDisplayName(String) Method

Definition

Returns the display name of the provided variant.

[Android.Runtime.Register("variantDisplayName", "(Ljava/lang/String;)Ljava/lang/String;", "GetVariantDisplayName_Ljava_lang_String_Handler", ApiSince=24)]
public abstract string? VariantDisplayName (string? variant);
[<Android.Runtime.Register("variantDisplayName", "(Ljava/lang/String;)Ljava/lang/String;", "GetVariantDisplayName_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member VariantDisplayName : string -> string

Parameters

variant
String

the variant string

Returns

the display name of the provided variant

Attributes

Remarks

Returns the display name of the provided variant.

Java documentation for android.icu.text.LocaleDisplayNames.variantDisplayName(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