Stay organized with collections
Save and categorize content based on your preferences.
SyncStateContract.Columns
public
static
interface
SyncStateContract.Columns
implements
BaseColumns
android.provider.SyncStateContract.Columns
|
Known indirect subclasses
|
Summary
Constants |
String |
ACCOUNT_NAME
A reference to the name of the account to which this data belongs
Type: STRING
|
String |
ACCOUNT_TYPE
A reference to the type of the account to which this data belongs
Type: STRING
|
String |
DATA
The sync data associated with this account.
|
Constants
ACCOUNT_NAME
public static final String ACCOUNT_NAME
A reference to the name of the account to which this data belongs
Type: STRING
Constant Value:
"account_name"
ACCOUNT_TYPE
public static final String ACCOUNT_TYPE
A reference to the type of the account to which this data belongs
Type: STRING
Constant Value:
"account_type"
DATA
public static final String DATA
The sync data associated with this account.
Type: NONE
Constant 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](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Constants](#constants) \\| [Inherited Constants](#inhconstants) \n\nSyncStateContract.Columns\n=========================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/provider/SyncStateContract.Columns \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nSyncStateContract.Columns\n`\n\n\n`\n\n\nimplements\n\n`[BaseColumns](/reference/android/provider/BaseColumns)`\n\n\n`\n\n|--------------------------------------------|\n| android.provider.SyncStateContract.Columns |\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [CalendarContract.Colors](/reference/android/provider/CalendarContract.Colors), [CalendarContract.ColorsColumns](/reference/android/provider/CalendarContract.ColorsColumns), [CalendarContract.SyncState](/reference/android/provider/CalendarContract.SyncState), [ContactsContract.ProfileSyncState](/reference/android/provider/ContactsContract.ProfileSyncState), [ContactsContract.SyncState](/reference/android/provider/ContactsContract.SyncState), [SyncStateContract.Constants](/reference/android/provider/SyncStateContract.Constants) |----------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------| | [CalendarContract.Colors](/reference/android/provider/CalendarContract.Colors) | Fields for accessing colors available for a given account. | | [CalendarContract.ColorsColumns](/reference/android/provider/CalendarContract.ColorsColumns) | | | [CalendarContract.SyncState](/reference/android/provider/CalendarContract.SyncState) | A table provided for sync adapters to use for storing private sync state data. | | [ContactsContract.ProfileSyncState](/reference/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/android/provider/ContactsContract.SyncState) | A table provided for sync adapters to use for storing private sync state data for contacts. | | [SyncStateContract.Constants](/reference/android/provider/SyncStateContract.Constants) | | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Constants ||\n|---------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [String](/reference/java/lang/String) | [ACCOUNT_NAME](/reference/android/provider/SyncStateContract.Columns#ACCOUNT_NAME) A reference to the name of the account to which this data belongs Type: STRING \u003cbr /\u003e |\n| [String](/reference/java/lang/String) | [ACCOUNT_TYPE](/reference/android/provider/SyncStateContract.Columns#ACCOUNT_TYPE) A reference to the type of the account to which this data belongs Type: STRING \u003cbr /\u003e |\n| [String](/reference/java/lang/String) | [DATA](/reference/android/provider/SyncStateContract.Columns#DATA) The sync data associated with this account. |\n\n| ### Inherited constants |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| From interface [android.provider.BaseColumns](/reference/android/provider/BaseColumns) |---------------------------------------|--------------------------------------------------------------------------------------------| | [String](/reference/java/lang/String) | [_COUNT](/reference/android/provider/BaseColumns#_COUNT) The count of rows in a directory. | | [String](/reference/java/lang/String) | [_ID](/reference/android/provider/BaseColumns#_ID) The unique ID for a row. | |\n\nConstants\n---------\n\n### ACCOUNT_NAME\n\nAdded in [API level 5](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String ACCOUNT_NAME\n```\n\nA reference to the name of the account to which this data belongs\n\nType: STRING\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"account_name\"\n\n\n### ACCOUNT_TYPE\n\nAdded in [API level 5](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String ACCOUNT_TYPE\n```\n\nA reference to the type of the account to which this data belongs\n\nType: STRING\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"account_type\"\n\n\n### DATA\n\nAdded in [API level 5](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String DATA\n```\n\nThe sync data associated with this account.\n\nType: NONE\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"data\""]]