PackageItemInfo.LoadBanner(PackageManager) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieve the current graphical banner associated with this item.
[Android.Runtime.Register("loadBanner", "(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable;", "GetLoadBanner_Landroid_content_pm_PackageManager_Handler")]
public virtual Android.Graphics.Drawables.Drawable? LoadBanner (Android.Content.PM.PackageManager? pm);
[<Android.Runtime.Register("loadBanner", "(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable;", "GetLoadBanner_Landroid_content_pm_PackageManager_Handler")>]
abstract member LoadBanner : Android.Content.PM.PackageManager -> Android.Graphics.Drawables.Drawable
override this.LoadBanner : Android.Content.PM.PackageManager -> Android.Graphics.Drawables.Drawable
Parameters
A PackageManager from which the banner can be loaded; usually the PackageManager from which you originally retrieved this item.
Returns
Returns a Drawable containing the item's banner. If the item does not have a banner, this method will return null.
- Attributes
Remarks
Retrieve the current graphical banner associated with this item. This will call back on the given PackageManager to load the banner from the application.
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.