Stay organized with collections
Save and categorize content based on your preferences.
BaseSyncColumns
protected interface 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 |
static String |
Generic column for use by sync adapters.
|
static String |
Generic column for use by sync adapters.
|
static String |
Generic column for use by sync adapters.
|
static String |
Generic column for use by sync adapters.
|
Constants
SYNC1
static val SYNC1: String
Generic column for use by sync adapters.
Value: "sync1"
SYNC2
static val SYNC2: String
Generic column for use by sync adapters.
Value: "sync2"
SYNC3
static val SYNC3: String
Generic column for use by sync adapters.
Value: "sync3"
SYNC4
static val SYNC4: String
Generic column for use by sync adapters.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# ContactsContract.BaseSyncColumns\n\nAdded in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nBaseSyncColumns\n===============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/provider/ContactsContract.BaseSyncColumns \"View this page in Java\") \n\n```\nprotected interface BaseSyncColumns\n```\n\n|--------------------------------------------------------|\n| [android.provider.ContactsContract.BaseSyncColumns](#) |\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [ContactsContract.Contacts.Entity](/reference/kotlin/android/provider/ContactsContract.Contacts.Entity), [ContactsContract.SyncColumns](/reference/kotlin/android/provider/ContactsContract.SyncColumns) |---------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [ContactsContract.Contacts.Entity](/reference/kotlin/android/provider/ContactsContract.Contacts.Entity) | A sub-directory of a contact that contains all of its [ContactsContract.RawContacts](/reference/kotlin/android/provider/ContactsContract.RawContacts) as well as [ContactsContract.Data](/reference/kotlin/android/provider/ContactsContract.Data) rows. | | [ContactsContract.SyncColumns](/reference/kotlin/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|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Indirect Subclasses [ContactsContract.Contacts.Entity](/reference/kotlin/android/provider/ContactsContract.Contacts.Entity), [ContactsContract.Groups](/reference/kotlin/android/provider/ContactsContract.Groups), [ContactsContract.RawContacts](/reference/kotlin/android/provider/ContactsContract.RawContacts) |---------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [ContactsContract.Contacts.Entity](/reference/kotlin/android/provider/ContactsContract.Contacts.Entity) | A sub-directory of a contact that contains all of its [ContactsContract.RawContacts](/reference/kotlin/android/provider/ContactsContract.RawContacts) as well as [ContactsContract.Data](/reference/kotlin/android/provider/ContactsContract.Data) rows. | | [ContactsContract.Groups](/reference/kotlin/android/provider/ContactsContract.Groups) | Constants for the groups table. | | [ContactsContract.RawContacts](/reference/kotlin/android/provider/ContactsContract.RawContacts) | Constants for the raw contacts table, which contains one row of contact information for each person in each synced account. | |\n\nGeneric 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.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SYNC1](#SYNC1:kotlin.String) Generic column for use by sync adapters. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SYNC2](#SYNC2:kotlin.String) Generic column for use by sync adapters. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SYNC3](#SYNC3:kotlin.String) Generic column for use by sync adapters. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SYNC4](#SYNC4:kotlin.String) Generic column for use by sync adapters. |\n\nConstants\n---------\n\n### SYNC1\n\nAdded in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SYNC1: String\n```\n\nGeneric column for use by sync adapters. \n\n Value: \"sync1\"\n\n### SYNC2\n\nAdded in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SYNC2: String\n```\n\nGeneric column for use by sync adapters. \n\n Value: \"sync2\"\n\n### SYNC3\n\nAdded in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SYNC3: String\n```\n\nGeneric column for use by sync adapters. \n\n Value: \"sync3\"\n\n### SYNC4\n\nAdded in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SYNC4: String\n```\n\nGeneric column for use by sync adapters. \n\n Value: \"sync4\""]]