MockPackageManager.GetApplicationBanner 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.
Overloads
GetApplicationBanner(String) |
Retrieve the banner associated with an application. |
GetApplicationBanner(ApplicationInfo) |
Retrieve the banner associated with an application. |
GetApplicationBanner(String)
Retrieve the banner associated with an application.
[Android.Runtime.Register("getApplicationBanner", "(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;", "GetGetApplicationBanner_Ljava_lang_String_Handler")]
public override Android.Graphics.Drawables.Drawable? GetApplicationBanner (string? packageName);
[<Android.Runtime.Register("getApplicationBanner", "(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;", "GetGetApplicationBanner_Ljava_lang_String_Handler")>]
override this.GetApplicationBanner : string -> Android.Graphics.Drawables.Drawable
Parameters
- packageName
- String
Name of the package whose application banner is to be retrieved.
Returns
- Attributes
Exceptions
Remarks
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
GetApplicationBanner(ApplicationInfo)
Retrieve the banner associated with an application.
[Android.Runtime.Register("getApplicationBanner", "(Landroid/content/pm/ApplicationInfo;)Landroid/graphics/drawable/Drawable;", "GetGetApplicationBanner_Landroid_content_pm_ApplicationInfo_Handler")]
public override Android.Graphics.Drawables.Drawable? GetApplicationBanner (Android.Content.PM.ApplicationInfo? info);
[<Android.Runtime.Register("getApplicationBanner", "(Landroid/content/pm/ApplicationInfo;)Landroid/graphics/drawable/Drawable;", "GetGetApplicationBanner_Landroid_content_pm_ApplicationInfo_Handler")>]
override this.GetApplicationBanner : Android.Content.PM.ApplicationInfo -> Android.Graphics.Drawables.Drawable
Parameters
- info
- ApplicationInfo
Information about application being queried.
Returns
- Attributes
Remarks
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.