共用方式為


ContactsContract.CommonDataKinds.Organization.InterfaceConsts.Deleted Field

Definition

The "deleted" flag: "0" by default, "1" if the row has been marked for deletion.

[Android.Runtime.Register("DELETED")]
public const string Deleted;
[<Android.Runtime.Register("DELETED")>]
val mutable Deleted : string

Field Value

Attributes

Remarks

The "deleted" flag: "0" by default, "1" if the row has been marked for deletion. When android.content.ContentResolver#delete is called on a raw contact, it is marked for deletion and removed from its aggregate contact. The sync adaptor deletes the raw contact on the server and then calls ContactResolver.delete once more, this time passing the ContactsContract#CALLER_IS_SYNCADAPTER query parameter to finalize the data removal.

Type: INTEGER

Java documentation for android.provider.ContactsContract.RawContactsColumns.DELETED.

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