Stay organized with collections
Save and categorize content based on your preferences.
protected
static
interface
ContactsContract.BaseSyncColumns
android.provider.ContactsContract.BaseSyncColumns
|
Known indirect subclasses
|
Generic columns for use by sync adapters. The specific functions of
these columns are private to the sync adapter. Other clients of the API
should not attempt to either read or write this column.
Summary
Constants |
String |
SYNC1
Generic column for use by sync adapters.
|
String |
SYNC2
Generic column for use by sync adapters.
|
String |
SYNC3
Generic column for use by sync adapters.
|
String |
SYNC4
Generic column for use by sync adapters.
|
Constants
SYNC1
public static final String SYNC1
Generic column for use by sync adapters.
Constant Value:
"sync1"
SYNC2
public static final String SYNC2
Generic column for use by sync adapters.
Constant Value:
"sync2"
SYNC3
public static final String SYNC3
Generic column for use by sync adapters.
Constant Value:
"sync3"
SYNC4
public static final String SYNC4
Generic column for use by sync adapters.
Constant Value:
"sync4"
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# ContactsContract.BaseSyncColumns\n\nAdded in [API level 5](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Constants](#constants) \n\nContactsContract.BaseSyncColumns\n================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/provider/ContactsContract.BaseSyncColumns \"View this page in Kotlin\") \\|Java\n\n\n`\nprotected\nstatic\n\n\ninterface\nContactsContract.BaseSyncColumns\n`\n\n\n`\n\n\n`\n\n|---------------------------------------------------|\n| android.provider.ContactsContract.BaseSyncColumns |\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [ContactsContract.Contacts.Entity](/reference/android/provider/ContactsContract.Contacts.Entity), [ContactsContract.Groups](/reference/android/provider/ContactsContract.Groups), [ContactsContract.RawContacts](/reference/android/provider/ContactsContract.RawContacts), [ContactsContract.SyncColumns](/reference/android/provider/ContactsContract.SyncColumns) |--------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [ContactsContract.Contacts.Entity](/reference/android/provider/ContactsContract.Contacts.Entity) | A sub-directory of a contact that contains all of its [ContactsContract.RawContacts](/reference/android/provider/ContactsContract.RawContacts) as well as [ContactsContract.Data](/reference/android/provider/ContactsContract.Data) rows. | | [ContactsContract.Groups](/reference/android/provider/ContactsContract.Groups) | Constants for the groups table. | | [ContactsContract.RawContacts](/reference/android/provider/ContactsContract.RawContacts) | Constants for the raw contacts table, which contains one row of contact information for each person in each synced account. | | [ContactsContract.SyncColumns](/reference/android/provider/ContactsContract.SyncColumns) | Columns that appear when each row of a table belongs to a specific account, including sync information that an account may need. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nGeneric columns for use by sync adapters. The specific functions of\nthese columns are private to the sync adapter. Other clients of the API\nshould not attempt to either read or write this column. \n**See also:**\n\n- [ContactsContract.RawContacts](/reference/android/provider/ContactsContract.RawContacts)\n- [ContactsContract.Groups](/reference/android/provider/ContactsContract.Groups)\n\nSummary\n-------\n\n| ### Constants ||\n|---------------------------------------|----------------------------------------------------------------------------------------------------------------------|\n| [String](/reference/java/lang/String) | [SYNC1](/reference/android/provider/ContactsContract.BaseSyncColumns#SYNC1) Generic column for use by sync adapters. |\n| [String](/reference/java/lang/String) | [SYNC2](/reference/android/provider/ContactsContract.BaseSyncColumns#SYNC2) Generic column for use by sync adapters. |\n| [String](/reference/java/lang/String) | [SYNC3](/reference/android/provider/ContactsContract.BaseSyncColumns#SYNC3) Generic column for use by sync adapters. |\n| [String](/reference/java/lang/String) | [SYNC4](/reference/android/provider/ContactsContract.BaseSyncColumns#SYNC4) Generic column for use by sync adapters. |\n\nConstants\n---------\n\n### SYNC1\n\nAdded in [API level 5](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String SYNC1\n```\n\nGeneric column for use by sync adapters.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"sync1\"\n\n\n### SYNC2\n\nAdded in [API level 5](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String SYNC2\n```\n\nGeneric column for use by sync adapters.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"sync2\"\n\n\n### SYNC3\n\nAdded in [API level 5](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String SYNC3\n```\n\nGeneric column for use by sync adapters.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"sync3\"\n\n\n### SYNC4\n\nAdded in [API level 5](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String SYNC4\n```\n\nGeneric column for use by sync adapters.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"sync4\""]]