# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Constants | Inherited Constants

# ContactsContract.SyncColumns

`protected static interface ContactsContract.SyncColumns`
`implements ContactsContract.BaseSyncColumns`

android.provider.ContactsContract.SyncColumns

Known indirect subclasses ContactsContract.Contacts.Entity, ContactsContract.Groups, ContactsContract.RawContacts
ContactsContract.Contacts.Entity | A sub-directory of a contact that contains all of its `ContactsContract.RawContacts` as well as `ContactsContract.Data` rows.
ContactsContract.Groups | Constants for the groups table.
ContactsContract.RawContacts | Constants for the raw contacts table, which contains one row of contact information for each person in each synced account.

Columns that appear when each row of a table belongs to a specific account, including sync information that an account may need.

See also:

- `ContactsContract.RawContacts`
- `ContactsContract.Groups`

## Summary

### Constants
`String` | `ACCOUNT_NAME` The name of the account instance to which this row belongs, which when paired with `ACCOUNT_TYPE` identifies a specific account.
`String` | `ACCOUNT_TYPE` The type of account to which this row belongs, which when paired with `ACCOUNT_NAME` identifies a specific account.
`String` | `DIRTY` Flag indicating that `VERSION` has changed, and this row needs to be synchronized by its owning account.
`String` | `SOURCE_ID` String that uniquely identifies this row to its source account.
`String` | `VERSION` Version number that is updated whenever this row or its related data changes.

### Inherited constants
From interface `android.provider.ContactsContract.BaseSyncColumns`
`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

### ACCOUNT_NAME

    public static final String ACCOUNT_NAME

The name of the account instance to which this row belongs, which when paired with `ACCOUNT_TYPE` identifies a specific account.

Type: TEXT

Constant Value: "account_name"

### ACCOUNT_TYPE

    public static final String ACCOUNT_TYPE

The type of account to which this row belongs, which when paired with `ACCOUNT_NAME` identifies a specific account.

Type: TEXT

Constant Value: "account_type"

### DIRTY

    public static final String DIRTY

Flag indicating that `VERSION` has changed, and this row needs to be synchronized by its owning account.

Type: INTEGER (boolean)

Constant Value: "dirty"

### SOURCE_ID

    public static final String SOURCE_ID

String that uniquely identifies this row to its source account.

Type: TEXT

Constant Value: "sourceid"

### VERSION

    public static final String VERSION

Version number that is updated whenever this row or its related data changes.

Type: INTEGER

Constant Value: "version"

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*