Skip to content

Most visited

Recently visited

navigation
Added in API level 5

ContactsContract.DataColumns

protected static interface ContactsContract.DataColumns

android.provider.ContactsContract.DataColumns
Known Indirect Subclasses


Columns in the Data table.

See also:

Summary

Constants

String CARRIER_PRESENCE

Carrier presence information.

int CARRIER_PRESENCE_VT_CAPABLE

Indicates that the entry is Video Telephony (VT) capable on the current carrier.

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 RES_PACKAGE

The package name to use when creating Resources objects for this data row.

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

CARRIER_PRESENCE

Added in API level 23
String CARRIER_PRESENCE

Carrier presence information.

Type: INTEGER (A bitmask of CARRIER_PRESENCE_* fields)

Constant Value: "carrier_presence"

CARRIER_PRESENCE_VT_CAPABLE

Added in API level 23
int CARRIER_PRESENCE_VT_CAPABLE

Indicates that the entry is Video Telephony (VT) capable on the current carrier. An allowed bitmask of CARRIER_PRESENCE.

Constant Value: 1 (0x00000001)

DATA1

Added in API level 5
String DATA1

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data1"

DATA10

Added in API level 5
String DATA10

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data10"

DATA11

Added in API level 5
String DATA11

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data11"

DATA12

Added in API level 5
String DATA12

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data12"

DATA13

Added in API level 5
String DATA13

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data13"

DATA14

Added in API level 5
String DATA14

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data14"

DATA15

Added in API level 5
String DATA15

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

Constant Value: "data15"

DATA2

Added in API level 5
String DATA2

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data2"

DATA3

Added in API level 5
String DATA3

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data3"

DATA4

Added in API level 5
String DATA4

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data4"

DATA5

Added in API level 5
String DATA5

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data5"

DATA6

Added in API level 5
String DATA6

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data6"

DATA7

Added in API level 5
String DATA7

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data7"

DATA8

Added in API level 5
String DATA8

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data8"

DATA9

Added in API level 5
String DATA9

Generic data column, the meaning is MIMETYPE specific

Constant Value: "data9"

DATA_VERSION

Added in API level 5
String DATA_VERSION

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"

IS_PRIMARY

Added in API level 5
String IS_PRIMARY

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"

IS_READ_ONLY

Added in API level 11
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. See CALLER_IS_SYNCADAPTER.

Type: INTEGER

Constant Value: "is_read_only"

IS_SUPER_PRIMARY

Added in API level 5
String IS_SUPER_PRIMARY

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"

MIMETYPE

Added in API level 5
String MIMETYPE

The MIME type of the item represented by this row.

Constant Value: "mimetype"

RAW_CONTACT_ID

Added in API level 5
String RAW_CONTACT_ID

A reference to the _ID that this data belongs to.

Constant Value: "raw_contact_id"

RES_PACKAGE

Added in API level 21
String RES_PACKAGE

The package name to use when creating Resources objects for this data row. This value is only designed for use when building user interfaces, and should not be used to infer the owner.

Constant Value: "res_package"

SYNC1

Added in API level 5
String SYNC1

Generic column for use by sync adapters.

Constant Value: "data_sync1"

SYNC2

Added in API level 5
String SYNC2

Generic column for use by sync adapters.

Constant Value: "data_sync2"

SYNC3

Added in API level 5
String SYNC3

Generic column for use by sync adapters.

Constant Value: "data_sync3"

SYNC4

Added in API level 5
String SYNC4

Generic column for use by sync adapters.

Constant Value: "data_sync4"

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.