DevicePolicyManager.SetUserIcon(ComponentName, Bitmap) 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.
Called by profile or device owners to set the user's photo.
[Android.Runtime.Register("setUserIcon", "(Landroid/content/ComponentName;Landroid/graphics/Bitmap;)V", "GetSetUserIcon_Landroid_content_ComponentName_Landroid_graphics_Bitmap_Handler", ApiSince=23)]
public virtual void SetUserIcon (Android.Content.ComponentName admin, Android.Graphics.Bitmap? icon);
[<Android.Runtime.Register("setUserIcon", "(Landroid/content/ComponentName;Landroid/graphics/Bitmap;)V", "GetSetUserIcon_Landroid_content_ComponentName_Landroid_graphics_Bitmap_Handler", ApiSince=23)>]
abstract member SetUserIcon : Android.Content.ComponentName * Android.Graphics.Bitmap -> unit
override this.SetUserIcon : Android.Content.ComponentName * Android.Graphics.Bitmap -> unit
Parameters
- admin
- ComponentName
Which DeviceAdminReceiver
this request is associated with.
- icon
- Bitmap
the bitmap to set as the photo.
- Attributes
Remarks
Called by profile or device owners to set the user's photo.
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.