protected static interface ContactsContract.MetadataSyncColumns
Modifier and Type | Field and Description |
---|---|
static String |
ACCOUNT_NAME
The account name to which the raw_contact of this item is associated.
|
static String |
ACCOUNT_TYPE
The account type to which the raw_contact of this item is associated.
|
static String |
DATA
A text column contains the Json string got from People API.
|
static String |
DATA_SET
The data set within the account that the raw_contact of this row belongs to.
|
static String |
DELETED
The "deleted" flag: "0" by default, "1" if the row has been marked
for deletion.
|
static String |
RAW_CONTACT_BACKUP_ID
The raw contact backup id.
|
static final String RAW_CONTACT_BACKUP_ID
ContactsContract.RawContactsColumns.BACKUP_ID
that save the
persistent unique id for each raw contact within its source system.static final String ACCOUNT_TYPE
ContactsContract.SyncColumns.ACCOUNT_TYPE
static final String ACCOUNT_NAME
ContactsContract.SyncColumns.ACCOUNT_NAME
static final String DATA_SET
ContactsContract.RawContactsColumns.DATA_SET
static final String DATA
{ "unique_contact_id": { "account_type": "CUSTOM_ACCOUNT", "custom_account_type": "facebook", "account_name": "android-test", "contact_id": "1111111", "data_set": "FOCUS" }, "contact_prefs": { "send_to_voicemail": true, "starred": false, "pinned": 2 }, "aggregation_data": [ { "type": "TOGETHER", "contact_ids": [ { "account_type": "GOOGLE_ACCOUNT", "account_name": "android-test2", "contact_id": "2222222", "data_set": "GOOGLE_PLUS" }, { "account_type": "GOOGLE_ACCOUNT", "account_name": "android-test3", "contact_id": "3333333", "data_set": "CUSTOM", "custom_data_set": "custom type" } ] } ], "field_data": [ { "field_data_id": "1001", "field_data_prefs": { "is_primary": true, "is_super_primary": true }, "usage_stats": [ { "usage_type": "CALL", "last_time_used": 10000001, "usage_count": 10 } ] } ] }
static final String DELETED
ContentResolver.delete(android.net.Uri, java.lang.String, java.lang.String[])
is
called on a raw contact, updating MetadataSync table to set the flag of the raw contact
as "1", then metadata sync adapter deletes the raw contact metadata on the server.
Type: INTEGER