Android APIs
Added in API level 5
protected static interface

ContactsContract.DataColumns

android.provider.ContactsContract.DataColumns
Known Indirect Subclasses

Class Overview

Columns in the Data table.

Summary

Constants
String DATA1 Generic data column, the meaning is MIMETYPE specific
String DATA10 Generic data column, the meaning is MIMETYPE specific
String DATA11 Generic data column, the meaning is MIMETYPE specific
String DATA12 Generic data column, the meaning is MIMETYPE specific
String DATA13 Generic data column, the meaning is MIMETYPE specific
String DATA14 Generic data column, the meaning is MIMETYPE specific
String DATA15 Generic data column, the meaning is MIMETYPE specific.
String DATA2 Generic data column, the meaning is MIMETYPE specific
String DATA3 Generic data column, the meaning is MIMETYPE specific
String DATA4 Generic data column, the meaning is MIMETYPE specific
String DATA5 Generic data column, the meaning is MIMETYPE specific
String DATA6 Generic data column, the meaning is MIMETYPE specific
String DATA7 Generic data column, the meaning is MIMETYPE specific
String DATA8 Generic data column, the meaning is MIMETYPE specific
String DATA9 Generic data column, the meaning is MIMETYPE specific
String DATA_VERSION The version of this data record.
String IS_PRIMARY Whether this is the primary entry of its kind for the raw contact it belongs to.
String IS_READ_ONLY The "read-only" flag: "0" by default, "1" if the row cannot be modified or deleted except by a sync adapter.
String IS_SUPER_PRIMARY Whether this is the primary entry of its kind for the aggregate contact it belongs to.
String MIMETYPE The MIME type of the item represented by this row.
String RAW_CONTACT_ID A reference to the _ID that this data belongs to.
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

public static final String DATA1

Added in API level 5

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data1"

public static final String DATA10

Added in API level 5

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data10"

public static final String DATA11

Added in API level 5

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data11"

public static final String DATA12

Added in API level 5

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data12"

public static final String DATA13

Added in API level 5

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data13"

public static final String DATA14

Added in API level 5

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data14"

public static final String DATA15

Added in API level 5

Generic data column, the meaning is MIMETYPE specific. By convention, this field is used to store BLOBs (binary data).

Constant Value: "data15"

public static final String DATA2

Added in API level 5

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data2"

public static final String DATA3

Added in API level 5

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data3"

public static final String DATA4

Added in API level 5

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data4"

public static final String DATA5

Added in API level 5

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data5"

public static final String DATA6

Added in API level 5

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data6"

public static final String DATA7

Added in API level 5

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data7"

public static final String DATA8

Added in API level 5

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data8"

public static final String DATA9

Added in API level 5

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data9"

public static final String DATA_VERSION

Added in API level 5

The version of this data record. This is a read-only value. The data column is guaranteed to not change without the version going up. This value is monotonically increasing.

Type: INTEGER

Constant Value: "data_version"

public static final String IS_PRIMARY

Added in API level 5

Whether this is the primary entry of its kind for the raw contact it belongs to.

Type: INTEGER (if set, non-0 means true)

Constant Value: "is_primary"

public static final String IS_READ_ONLY

Added in API level 11

The "read-only" flag: "0" by default, "1" if the row cannot be modified or deleted except by a sync adapter. See CALLER_IS_SYNCADAPTER.

Type: INTEGER

Constant Value: "is_read_only"

public static final String IS_SUPER_PRIMARY

Added in API level 5

Whether this is the primary entry of its kind for the aggregate contact it belongs to. Any data record that is "super primary" must also be "primary".

Type: INTEGER (if set, non-0 means true)

Constant Value: "is_super_primary"

public static final String MIMETYPE

Added in API level 5

The MIME type of the item represented by this row.

Constant Value: "mimetype"

public static final String RAW_CONTACT_ID

Added in API level 5

A reference to the _ID that this data belongs to.

Constant Value: "raw_contact_id"

public static final String SYNC1

Added in API level 5

Generic column for use by sync adapters.

Constant Value: "data_sync1"

public static final String SYNC2

Added in API level 5

Generic column for use by sync adapters.

Constant Value: "data_sync2"

public static final String SYNC3

Added in API level 5

Generic column for use by sync adapters.

Constant Value: "data_sync3"

public static final String SYNC4

Added in API level 5

Generic column for use by sync adapters.

Constant Value: "data_sync4"