Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
protected static interface

ContactsContract.RawContactsColumns

android.provider.ContactsContract.RawContactsColumns
Known Indirect Subclasses

Summary

Constants
String AGGREGATION_MODE The aggregation mode for this contact.
String CONTACT_ID A reference to the _ID that this data belongs to.
String DATA_SET The data set within the account that this row belongs to.
String DELETED The "deleted" flag: "0" by default, "1" if the row has been marked for deletion.
String RAW_CONTACT_IS_READ_ONLY The "read-only" flag: "0" by default, "1" if the row cannot be modified or deleted except by a sync adapter.
String RAW_CONTACT_IS_USER_PROFILE Flag that reflects whether this raw contact belongs to the user's personal profile entry.

Constants

public static final String AGGREGATION_MODE

Added in API level 5

The aggregation mode for this contact.

Type: INTEGER

Constant Value: "aggregation_mode"

public static final String CONTACT_ID

Added in API level 5

A reference to the _ID that this data belongs to.

Type: INTEGER

Constant Value: "contact_id"

public static final String DATA_SET

The data set within the account that this row belongs to. This allows multiple sync adapters for the same account type to distinguish between each others' data. This is empty by default, and is completely optional. It only needs to be populated if multiple sync adapters are entering distinct data for the same account type and account name.

Type: TEXT

Constant Value: "data_set"

public static final String DELETED

Added in API level 5

The "deleted" flag: "0" by default, "1" if the row has been marked for deletion. When delete(Uri, String, String[]) 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 CALLER_IS_SYNCADAPTER query parameter to finalize the data removal.

Type: INTEGER

Constant Value: "deleted"

public static final String RAW_CONTACT_IS_READ_ONLY

The "read-only" flag: "0" by default, "1" if the row cannot be modified or deleted except by a sync adapter. See CALLER_IS_SYNCADAPTER .

Type: INTEGER

Constant Value: "raw_contact_is_read_only"

public static final String RAW_CONTACT_IS_USER_PROFILE

Flag that reflects whether this raw contact belongs to the user's personal profile entry.

Constant Value: "raw_contact_is_user_profile"