Contacts.People.CreatePersonInMyContactsGroup Method

Definition

Caution

deprecated

Creates a new contacts and adds it to the "My Contacts" group.

[Android.Runtime.Register("createPersonInMyContactsGroup", "(Landroid/content/ContentResolver;Landroid/content/ContentValues;)Landroid/net/Uri;", "")]
[System.Obsolete("deprecated")]
public static Android.Net.Uri? CreatePersonInMyContactsGroup (Android.Content.ContentResolver? resolver, Android.Content.ContentValues? values);
[<Android.Runtime.Register("createPersonInMyContactsGroup", "(Landroid/content/ContentResolver;Landroid/content/ContentValues;)Landroid/net/Uri;", "")>]
[<System.Obsolete("deprecated")>]
static member CreatePersonInMyContactsGroup : Android.Content.ContentResolver * Android.Content.ContentValues -> Android.Net.Uri

Parameters

resolver
ContentResolver

the ContentResolver to use

values
ContentValues

the values to use when creating the contact

Returns

Uri

the URI of the contact, or null if the operation fails

Attributes

Remarks

Creates a new contacts and adds it to the "My Contacts" group.

This member is deprecated. see android.provider.ContactsContract

Java documentation for android.provider.Contacts.People.createPersonInMyContactsGroup(android.content.ContentResolver, android.content.ContentValues).

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