android.provider.ContactsContract.RawContactsColumns |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ACCOUNT_TYPE_AND_DATA_SET | A concatenation of the account type and data set (delimited by a forward slash) - if the data set is empty, this will be the same as the account type. | |||||||||
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. |
A concatenation of the account type and data set (delimited by a forward slash) - if the data set is empty, this will be the same as the account type. For applications that need to be aware of the data set, this can be used instead of account type to distinguish sets of data. This is never intended to be used for specifying accounts.
This column does *not* escape forward slashes in the account type or the data set.
If this is an issue, consider using
ACCOUNT_TYPE
and
DATA_SET
directly.
The aggregation mode for this contact.
Type: INTEGER
A reference to the _ID
that this
data belongs to.
Type: INTEGER
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
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
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
Flag that reflects whether this raw contact belongs to the user's personal profile entry.