Compartir a través de


ApplicationInfo.LoadDescriptionFormatted(PackageManager) Method

Definition

Retrieve the textual description of the application.

[Android.Runtime.Register("loadDescription", "(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence;", "GetLoadDescription_Landroid_content_pm_PackageManager_Handler")]
public virtual Java.Lang.ICharSequence? LoadDescriptionFormatted (Android.Content.PM.PackageManager? pm);
[<Android.Runtime.Register("loadDescription", "(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence;", "GetLoadDescription_Landroid_content_pm_PackageManager_Handler")>]
abstract member LoadDescriptionFormatted : Android.Content.PM.PackageManager -> Java.Lang.ICharSequence
override this.LoadDescriptionFormatted : Android.Content.PM.PackageManager -> Java.Lang.ICharSequence

Parameters

pm
PackageManager

A PackageManager from which the label can be loaded; usually the PackageManager from which you originally retrieved this item.

Returns

Returns a CharSequence containing the application's description. If there is no description, null is returned.

Attributes

Remarks

Retrieve the textual description of the application. This will call back on the given PackageManager to load the description from the application.

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

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