Share via


ContactsContract.PinnedPositions.Undemote(ContentResolver, Int64) Method

Definition

Undemotes a formerly demoted contact.

[Android.Runtime.Register("undemote", "(Landroid/content/ContentResolver;J)V", "")]
public static void Undemote (Android.Content.ContentResolver? contentResolver, long contactId);
[<Android.Runtime.Register("undemote", "(Landroid/content/ContentResolver;J)V", "")>]
static member Undemote : Android.Content.ContentResolver * int64 -> unit

Parameters

contentResolver
ContentResolver

to perform the undemote operation on.

contactId
Int64

the id of the contact to undemote.

Attributes

Remarks

Undemotes a formerly demoted contact. If the contact was not previously demoted, nothing will be done.

Java documentation for android.provider.ContactsContract.PinnedPositions.undemote(android.content.ContentResolver, long).

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