Partager via


LocaleDisplayNames.LanguageDisplayName(String) Method

Definition

Returns the display name of the provided language code.

[Android.Runtime.Register("languageDisplayName", "(Ljava/lang/String;)Ljava/lang/String;", "GetLanguageDisplayName_Ljava_lang_String_Handler", ApiSince=24)]
public abstract string? LanguageDisplayName (string? lang);
[<Android.Runtime.Register("languageDisplayName", "(Ljava/lang/String;)Ljava/lang/String;", "GetLanguageDisplayName_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member LanguageDisplayName : string -> string

Parameters

lang
String

the language code

Returns

the display name of the provided language code

Attributes

Remarks

Returns the display name of the provided language code.

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