Person.Builder.SetIcon(Icon) 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.
Add an icon for this person.
[Android.Runtime.Register("setIcon", "(Landroid/graphics/drawable/Icon;)Landroid/app/Person$Builder;", "GetSetIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=28)]
public virtual Android.App.Person.Builder SetIcon(Android.Graphics.Drawables.Icon? icon);
[<Android.Runtime.Register("setIcon", "(Landroid/graphics/drawable/Icon;)Landroid/app/Person$Builder;", "GetSetIcon_Landroid_graphics_drawable_Icon_Handler", ApiSince=28)>]
abstract member SetIcon : Android.Graphics.Drawables.Icon -> Android.App.Person.Builder
override this.SetIcon : Android.Graphics.Drawables.Icon -> Android.App.Person.Builder
Parameters
- icon
- Icon
Icon: the icon of the person. This value may be null.
Returns
This Android.App.Person.Builder instance, allowing calls to be chained.
- Attributes
Remarks
Add an icon for this person. The system will prefer this icon over any images that are resolved from the URI.
Android reference for android.app.Person.Builder.setIcon.
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.