Android.Test.Mock.MockPackageManager.GetActivityBanner Method
Retrieve the banner associated with an Intent.

Syntax

[Android.Runtime.Register("getActivityBanner", "(Landroid/content/Intent;)Landroid/graphics/drawable/Drawable;", "GetGetActivityBanner_Landroid_content_Intent_Handler")]
public override Android.Graphics.Drawables.Drawable GetActivityBanner (Android.Content.Intent intent)

Parameters

intent
The intent for which you would like to retrieve a banner.

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.html

Remarks

Retrieve the banner associated with an Intent. If intent.getClassName() is set, this simply returns the result of getActivityBanner(intent.getClassName()). Otherwise it resolves the intent's component and returns the banner associated with the resolved component. If intent.getClassName() cannot be found or the Intent cannot be resolved to a component, NameNotFoundException is thrown.

[Android Documentation]

Requirements

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