Share via


PackageItemInfo.LoadLogo(PackageManager) Method

Definition

Retrieve the current graphical logo associated with this item.

[Android.Runtime.Register("loadLogo", "(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable;", "GetLoadLogo_Landroid_content_pm_PackageManager_Handler")]
public virtual Android.Graphics.Drawables.Drawable? LoadLogo (Android.Content.PM.PackageManager? pm);
[<Android.Runtime.Register("loadLogo", "(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable;", "GetLoadLogo_Landroid_content_pm_PackageManager_Handler")>]
abstract member LoadLogo : Android.Content.PM.PackageManager -> Android.Graphics.Drawables.Drawable
override this.LoadLogo : Android.Content.PM.PackageManager -> Android.Graphics.Drawables.Drawable

Parameters

pm
PackageManager

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

Returns

Returns a Drawable containing the item's logo. If the item does not have a logo, this method will return null.

Attributes

Remarks

Retrieve the current graphical logo associated with this item. This will call back on the given PackageManager to load the logo from the application.

Java documentation for android.content.pm.PackageItemInfo.loadLogo(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