Stay organized with collections
Save and categorize content based on your preferences.
Columns
interface Columns : BaseColumns
Known Indirect Subclasses
|
Summary
Constants |
static String |
A reference to the name of the account to which this data belongs
|
static String |
A reference to the type of the account to which this data belongs
|
static String |
The sync data associated with this account.
|
Constants
ACCOUNT_NAME
static val ACCOUNT_NAME: String
A reference to the name of the account to which this data belongs
Type: STRING
Value: "account_name"
ACCOUNT_TYPE
static val ACCOUNT_TYPE: String
A reference to the type of the account to which this data belongs
Type: STRING
Value: "account_type"
DATA
static val DATA: String
The sync data associated with this account.
Type: NONE
Value: "data"
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,["# SyncStateContract.Columns\n\nAdded in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nColumns\n=======\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/provider/SyncStateContract.Columns \"View this page in Java\") \n\n```\ninterface Columns : BaseColumns\n```\n\n|-------------------------------------------------|\n| [android.provider.SyncStateContract.Columns](#) |\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [CalendarContract.ColorsColumns](/reference/kotlin/android/provider/CalendarContract.ColorsColumns), [CalendarContract.SyncState](/reference/kotlin/android/provider/CalendarContract.SyncState), [ContactsContract.ProfileSyncState](/reference/kotlin/android/provider/ContactsContract.ProfileSyncState), [ContactsContract.SyncState](/reference/kotlin/android/provider/ContactsContract.SyncState), [SyncStateContract.Constants](/reference/kotlin/android/provider/SyncStateContract.Constants) |-----------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------| | [CalendarContract.ColorsColumns](/reference/kotlin/android/provider/CalendarContract.ColorsColumns) | \u003cbr /\u003e | | [CalendarContract.SyncState](/reference/kotlin/android/provider/CalendarContract.SyncState) | A table provided for sync adapters to use for storing private sync state data. | | [ContactsContract.ProfileSyncState](/reference/kotlin/android/provider/ContactsContract.ProfileSyncState) | A table provided for sync adapters to use for storing private sync state data for the user's personal profile. | | [ContactsContract.SyncState](/reference/kotlin/android/provider/ContactsContract.SyncState) | A table provided for sync adapters to use for storing private sync state data for contacts. | | [SyncStateContract.Constants](/reference/kotlin/android/provider/SyncStateContract.Constants) | \u003cbr /\u003e | |\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Indirect Subclasses [CalendarContract.Colors](/reference/kotlin/android/provider/CalendarContract.Colors) |---------------------------------------------------------------------------------------|------------------------------------------------------------| | [CalendarContract.Colors](/reference/kotlin/android/provider/CalendarContract.Colors) | Fields for accessing colors available for a given account. | |\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ACCOUNT_NAME](#ACCOUNT_NAME:kotlin.String) A reference to the name of the account to which this data belongs |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ACCOUNT_TYPE](#ACCOUNT_TYPE:kotlin.String) A reference to the type of the account to which this data belongs |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DATA](#DATA:kotlin.String) The sync data associated with this account. |\n\n| Inherited constants ||\n|---|---|\n| From class [BaseColumns](/reference/kotlin/android/provider/BaseColumns) |----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_COUNT](/reference/kotlin/android/provider/BaseColumns#_COUNT:kotlin.String) The count of rows in a directory. Type: INTEGER \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_ID](/reference/kotlin/android/provider/BaseColumns#_ID:kotlin.String) The unique ID for a row. Type: INTEGER (long) \u003cbr /\u003e | ||\n\nConstants\n---------\n\n### ACCOUNT_NAME\n\nAdded in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ACCOUNT_NAME: String\n```\n\nA reference to the name of the account to which this data belongs\n\nType: STRING \n\n Value: \"account_name\"\n\n### ACCOUNT_TYPE\n\nAdded in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ACCOUNT_TYPE: String\n```\n\nA reference to the type of the account to which this data belongs\n\nType: STRING \n\n Value: \"account_type\"\n\n### DATA\n\nAdded in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val DATA: String\n```\n\nThe sync data associated with this account.\n\nType: NONE \n\n Value: \"data\""]]