Android.Content.PM.PackageManager.GetApplicationBanner Method
Retrieve the banner associated with an application.

Syntax

[Android.Runtime.Register("getApplicationBanner", "(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;", "GetGetApplicationBanner_Ljava_lang_String_Handler")]
public abstract Android.Graphics.Drawables.Drawable GetApplicationBanner (string packageName)

See Also

PackageManager.GetApplicationBanner(ApplicationInfo)

Parameters

packageName
Name of the package whose application banner is to be retrieved.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
!:NoType:android/content/pm/PackageManager$NameNotFoundException;Href=../../../../reference/android/content/pm/PackageManager.NameNotFoundException.htmlThrown if the resources for the given application could not be loaded.

Remarks

Retrieve the banner associated with an application. Given the name of the application's package, retrieves the information about it and calls getApplicationIcon() to return its banner. If the application cannot be found, NameNotFoundException is thrown.

[Android Documentation]

Requirements

Namespace: Android.Content.PM
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1