Share via


PackageManager.GetApplicationLabelFormatted(ApplicationInfo) Method

Definition

Return the label to use for this application.

[Android.Runtime.Register("getApplicationLabel", "(Landroid/content/pm/ApplicationInfo;)Ljava/lang/CharSequence;", "GetGetApplicationLabel_Landroid_content_pm_ApplicationInfo_Handler")]
public abstract Java.Lang.ICharSequence GetApplicationLabelFormatted (Android.Content.PM.ApplicationInfo info);
[<Android.Runtime.Register("getApplicationLabel", "(Landroid/content/pm/ApplicationInfo;)Ljava/lang/CharSequence;", "GetGetApplicationLabel_Landroid_content_pm_ApplicationInfo_Handler")>]
abstract member GetApplicationLabelFormatted : Android.Content.PM.ApplicationInfo -> Java.Lang.ICharSequence

Parameters

info
ApplicationInfo

The ApplicationInfo of the application to get the label of.

Returns

Returns a CharSequence containing the label associated with this application, or its name the item does not have a label.

Attributes

Remarks

Return the label to use for this application.

Java documentation for android.content.pm.PackageManager.getApplicationLabel(android.content.pm.ApplicationInfo).

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