다음을 통해 공유


MockPackageManager.GetActivityBanner Method

Definition

Overloads

GetActivityBanner(ComponentName)

Retrieve the banner associated with an activity.

GetActivityBanner(Intent)

Retrieve the banner associated with an Intent.

GetActivityBanner(ComponentName)

Retrieve the banner associated with an activity.

[Android.Runtime.Register("getActivityBanner", "(Landroid/content/ComponentName;)Landroid/graphics/drawable/Drawable;", "GetGetActivityBanner_Landroid_content_ComponentName_Handler")]
public override Android.Graphics.Drawables.Drawable? GetActivityBanner (Android.Content.ComponentName? activityName);
[<Android.Runtime.Register("getActivityBanner", "(Landroid/content/ComponentName;)Landroid/graphics/drawable/Drawable;", "GetGetActivityBanner_Landroid_content_ComponentName_Handler")>]
override this.GetActivityBanner : Android.Content.ComponentName -> Android.Graphics.Drawables.Drawable

Parameters

activityName
ComponentName

Name of the activity whose 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

GetActivityBanner(Intent)

Retrieve the banner associated with an Intent.

[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);
[<Android.Runtime.Register("getActivityBanner", "(Landroid/content/Intent;)Landroid/graphics/drawable/Drawable;", "GetGetActivityBanner_Landroid_content_Intent_Handler")>]
override this.GetActivityBanner : Android.Content.Intent -> Android.Graphics.Drawables.Drawable

Parameters

intent
Intent

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

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