protected static interface ContactsContract.SyncColumns
implements ContactsContract.BaseSyncColumns

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.

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"

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 2026-02-26 UTC.