다음을 통해 공유


MockPackageManager.GetUserBadgedIcon(Drawable, UserHandle) Method

Definition

[Android.Runtime.Register("getUserBadgedIcon", "(Landroid/graphics/drawable/Drawable;Landroid/os/UserHandle;)Landroid/graphics/drawable/Drawable;", "GetGetUserBadgedIcon_Landroid_graphics_drawable_Drawable_Landroid_os_UserHandle_Handler")]
public override Android.Graphics.Drawables.Drawable? GetUserBadgedIcon (Android.Graphics.Drawables.Drawable? icon, Android.OS.UserHandle? user);
[<Android.Runtime.Register("getUserBadgedIcon", "(Landroid/graphics/drawable/Drawable;Landroid/os/UserHandle;)Landroid/graphics/drawable/Drawable;", "GetGetUserBadgedIcon_Landroid_graphics_drawable_Drawable_Landroid_os_UserHandle_Handler")>]
override this.GetUserBadgedIcon : Android.Graphics.Drawables.Drawable * Android.OS.UserHandle -> Android.Graphics.Drawables.Drawable

Parameters

icon
Drawable

The icon to badge.

user
UserHandle

The target user.

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.

Applies to