Contacts.People.SetPhotoData(ContentResolver, Uri, Byte[]) 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.
Caution
deprecated
Set the photo for this person.
[Android.Runtime.Register("setPhotoData", "(Landroid/content/ContentResolver;Landroid/net/Uri;[B)V", "")]
[System.Obsolete("deprecated")]
public static void SetPhotoData (Android.Content.ContentResolver? cr, Android.Net.Uri? person, byte[]? data);
[<Android.Runtime.Register("setPhotoData", "(Landroid/content/ContentResolver;Landroid/net/Uri;[B)V", "")>]
[<System.Obsolete("deprecated")>]
static member SetPhotoData : Android.Content.ContentResolver * Android.Net.Uri * byte[] -> unit
Parameters
the ContentResolver to use
- person
- Uri
the Uri of the person whose photo is to be updated
- data
- Byte[]
the byte[] that represents the photo
- Attributes
Remarks
Set the photo for this person. data may be null
This member is deprecated. see android.provider.ContactsContract
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.