- icon
- The icon to badge.
- user
- The target user.
Documentation for this section has not yet been entered.
If the target user is a managed profile of the calling user or the caller is itself a managed profile, then this returns a badged copy of the given icon to be able to distinguish it from the original icon. For badging an arbitrary drawable use PackageManager.GetUserBadgedDrawableForDensity(Android.Graphics.Drawables.Drawable, Android.OS.UserHandle, Android.OS.UserHandle, Android.OS.UserHandle).
If the original drawable is a BitmapDrawable and the backing bitmap is mutable as per Android.Graphics.Bitmap.IsMutable, the badging is performed in place and the original drawable is returned.