Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

ContactsContract.SyncColumns

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

Constants

ACCOUNT_NAME

added in API level 5
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

added in API level 5
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

added in API level 5
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

added in API level 5
public static final String SOURCE_ID

String that uniquely identifies this row to its source account.

Type: TEXT

Constant Value: "sourceid"

VERSION

added in API level 5
public static final String VERSION

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

Type: INTEGER

Constant Value: "version"