# SyncStateContract.Columns

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Constants](https://developer.android.com/reference/android/provider/SyncStateContract.Columns#constants)\|[Inherited Constants](https://developer.android.com/reference/android/provider/SyncStateContract.Columns#inhconstants)  

# SyncStateContract.Columns

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/provider/SyncStateContract.Columns "View this page in Kotlin")\|Java

`
public
static


interface
SyncStateContract.Columns
`  
`


implements

`[BaseColumns](https://developer.android.com/reference/android/provider/BaseColumns)`


`

|--------------------------------------------|
| android.provider.SyncStateContract.Columns |

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known indirect subclasses [CalendarContract.Colors](https://developer.android.com/reference/android/provider/CalendarContract.Colors),[CalendarContract.ColorsColumns](https://developer.android.com/reference/android/provider/CalendarContract.ColorsColumns),[CalendarContract.SyncState](https://developer.android.com/reference/android/provider/CalendarContract.SyncState),[ContactsContract.ProfileSyncState](https://developer.android.com/reference/android/provider/ContactsContract.ProfileSyncState),[ContactsContract.SyncState](https://developer.android.com/reference/android/provider/ContactsContract.SyncState),[SyncStateContract.Constants](https://developer.android.com/reference/android/provider/SyncStateContract.Constants) |---------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------| | [CalendarContract.Colors](https://developer.android.com/reference/android/provider/CalendarContract.Colors)                     | Fields for accessing colors available for a given account.                                                     | | [CalendarContract.ColorsColumns](https://developer.android.com/reference/android/provider/CalendarContract.ColorsColumns)       |                                                                                                                | | [CalendarContract.SyncState](https://developer.android.com/reference/android/provider/CalendarContract.SyncState)               | A table provided for sync adapters to use for storing private sync state data.                                 | | [ContactsContract.ProfileSyncState](https://developer.android.com/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](https://developer.android.com/reference/android/provider/ContactsContract.SyncState)               | A table provided for sync adapters to use for storing private sync state data for contacts.                    | | [SyncStateContract.Constants](https://developer.android.com/reference/android/provider/SyncStateContract.Constants)             |                                                                                                                | |

<br />

*** ** * ** ***

## Summary

|                                                                                                                               ### Constants                                                                                                                               ||
|--------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://developer.android.com/reference/java/lang/String) | [ACCOUNT_NAME](https://developer.android.com/reference/android/provider/SyncStateContract.Columns#ACCOUNT_NAME) A reference to the name of the account to which this data belongs Type: STRING <br /> |
| [String](https://developer.android.com/reference/java/lang/String) | [ACCOUNT_TYPE](https://developer.android.com/reference/android/provider/SyncStateContract.Columns#ACCOUNT_TYPE) A reference to the type of the account to which this data belongs Type: STRING <br /> |
| [String](https://developer.android.com/reference/java/lang/String) | [DATA](https://developer.android.com/reference/android/provider/SyncStateContract.Columns#DATA) The sync data associated with this account.                                                           |

|                                                                                                                                                                                                                                                                                                                                                ### Inherited constants                                                                                                                                                                                                                                                                                                                                                |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From interface[android.provider.BaseColumns](https://developer.android.com/reference/android/provider/BaseColumns) |--------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------| | [String](https://developer.android.com/reference/java/lang/String) | [_COUNT](https://developer.android.com/reference/android/provider/BaseColumns#_COUNT) The count of rows in a directory. | | [String](https://developer.android.com/reference/java/lang/String) | [_ID](https://developer.android.com/reference/android/provider/BaseColumns#_ID) The unique ID for a row.                | |

## Constants

### ACCOUNT_NAME

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final String ACCOUNT_NAME
```

A reference to the name of the account to which this data belongs

Type: STRING

<br />

<br />

Constant Value: "account_name"  

### ACCOUNT_TYPE

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final String ACCOUNT_TYPE
```

A reference to the type of the account to which this data belongs

Type: STRING

<br />

<br />

Constant Value: "account_type"  

### DATA

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final String DATA
```

The sync data associated with this account.

Type: NONE

<br />

<br />

Constant Value: "data"