protected static interface ContactsContract.RawContactsColumns
Modifier and Type | Field and Description |
---|---|
static 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.
|
static String |
AGGREGATION_MODE
The aggregation mode for this contact.
|
static String |
CONTACT_ID
A reference to the
BaseColumns._ID that this
data belongs to. |
static String |
DATA_SET
The data set within the account that this row belongs to.
|
static String |
DELETED
The "deleted" flag: "0" by default, "1" if the row has been marked
for deletion.
|
static String |
NAME_VERIFIED
The "name_verified" flag: "1" means that the name fields on this raw
contact can be trusted and therefore should be used for the entire
aggregated contact.
|
static 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.
|
static String |
RAW_CONTACT_IS_USER_PROFILE
Flag that reflects whether this raw contact belongs to the user's
personal profile entry.
|
static final String CONTACT_ID
BaseColumns._ID
that this
data belongs to.
Type: INTEGER
static final String DATA_SET
Type: TEXT
static final String ACCOUNT_TYPE_AND_DATA_SET
static final String AGGREGATION_MODE
Type: INTEGER
static final String DELETED
ContentResolver.delete(android.net.Uri, java.lang.String, java.lang.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
ContactsContract.CALLER_IS_SYNCADAPTER
query parameter to finalize
the data removal.
Type: INTEGER
static final String NAME_VERIFIED
If an aggregated contact contains more than one raw contact with a verified name, one of those verified names is chosen at random. If an aggregated contact contains no verified names, the name is chosen randomly from the constituent raw contacts.
Updating this flag from "0" to "1" automatically resets it to "0" on all other raw contacts in the same aggregated contact.
Sync adapters should only specify a value for this column when inserting a raw contact and leave it out when doing an update.
The default value is "0"
Type: INTEGER
static final String RAW_CONTACT_IS_READ_ONLY
ContactsContract.CALLER_IS_SYNCADAPTER
.
Type: INTEGER
static final String RAW_CONTACT_IS_USER_PROFILE