Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#constants)

# ContactsContract.DataColumns

*** ** * ** ***


`
protected
static


interface
ContactsContract.DataColumns
`


`


`

|---|
| android.provider.ContactsContract.DataColumns |

|---|
| Known indirect subclasses [ContactsContract.CommonDataKinds.Callable](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Callable), [ContactsContract.CommonDataKinds.Contactables](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Contactables), [ContactsContract.CommonDataKinds.Email](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Email), [ContactsContract.CommonDataKinds.Event](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Event), [ContactsContract.CommonDataKinds.GroupMembership](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.GroupMembership), [ContactsContract.CommonDataKinds.Identity](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Identity), [ContactsContract.CommonDataKinds.Im](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Im), [ContactsContract.CommonDataKinds.Nickname](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Nickname), [ContactsContract.CommonDataKinds.Note](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Note), [ContactsContract.CommonDataKinds.Organization](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization), [ContactsContract.CommonDataKinds.Phone](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Phone), [ContactsContract.CommonDataKinds.Photo](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Photo), [ContactsContract.CommonDataKinds.Relation](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Relation), [ContactsContract.CommonDataKinds.SipAddress](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.SipAddress), [ContactsContract.CommonDataKinds.StructuredName](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.StructuredName), and 10 others. |---|---| | [ContactsContract.CommonDataKinds.Callable](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Callable) | Convenient functionalities for "callable" data. | | [ContactsContract.CommonDataKinds.Contactables](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Contactables) | A special class of data items, used to refer to types of data that can be used to attempt to start communicating with a person (`https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Phone` and `https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Email`). | | [ContactsContract.CommonDataKinds.Email](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Email) | A data kind representing an email address. | | [ContactsContract.CommonDataKinds.Event](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Event) | A data kind representing an event. | | [ContactsContract.CommonDataKinds.GroupMembership](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.GroupMembership) | Group Membership. | | [ContactsContract.CommonDataKinds.Identity](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Identity) | A data kind representing an Identity related to the contact. | | [ContactsContract.CommonDataKinds.Im](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Im) | *This class was deprecated in API level 35. This field may not be well supported by some contacts apps and is discouraged to use.* | | [ContactsContract.CommonDataKinds.Nickname](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Nickname) | A data kind representing the contact's nickname. | | [ContactsContract.CommonDataKinds.Note](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Note) | Notes about the contact. | | [ContactsContract.CommonDataKinds.Organization](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Organization) | A data kind representing an organization. | | [ContactsContract.CommonDataKinds.Phone](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Phone) | A data kind representing a telephone number. | | [ContactsContract.CommonDataKinds.Photo](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Photo) | A data kind representing a photo for the contact. | | [ContactsContract.CommonDataKinds.Relation](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Relation) | A data kind representing a relation. | | [ContactsContract.CommonDataKinds.SipAddress](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.SipAddress) | *This class was deprecated in API level 35. This field may not be well supported by some contacts apps and is discouraged to use.* | | [ContactsContract.CommonDataKinds.StructuredName](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.StructuredName) | A data kind representing the contact's proper name. | | [ContactsContract.CommonDataKinds.StructuredPostal](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.StructuredPostal) | A data kind representing a postal addresses. | | [ContactsContract.CommonDataKinds.Website](https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Website) | A data kind representing a website related to the contact. | | [ContactsContract.Contacts.Data](https://developer.android.com/reference/android/provider/ContactsContract.Contacts.Data) | A sub-directory of a single contact that contains all of the constituent raw contact `https://developer.android.com/reference/android/provider/ContactsContract.Data` rows. | | [ContactsContract.Contacts.Entity](https://developer.android.com/reference/android/provider/ContactsContract.Contacts.Entity) | A sub-directory of a contact that contains all of its `https://developer.android.com/reference/android/provider/ContactsContract.RawContacts` as well as `https://developer.android.com/reference/android/provider/ContactsContract.Data` rows. | | [ContactsContract.Contacts.Photo](https://developer.android.com/reference/android/provider/ContactsContract.Contacts.Photo) | A *read-only* sub-directory of a single contact that contains the contact's primary photo. | | [ContactsContract.Data](https://developer.android.com/reference/android/provider/ContactsContract.Data) | Constants for the data table, which contains data points tied to a raw contact. | | [ContactsContract.DataColumnsWithJoins](https://developer.android.com/reference/android/provider/ContactsContract.DataColumnsWithJoins) | Combines all columns returned by `https://developer.android.com/reference/android/provider/ContactsContract.Data` table queries. | | [ContactsContract.RawContacts.Data](https://developer.android.com/reference/android/provider/ContactsContract.RawContacts.Data) | A sub-directory of a single raw contact that contains all of its `https://developer.android.com/reference/android/provider/ContactsContract.Data` rows. | | [ContactsContract.RawContacts.Entity](https://developer.android.com/reference/android/provider/ContactsContract.RawContacts.Entity) | A sub-directory of a single raw contact that contains all of its `https://developer.android.com/reference/android/provider/ContactsContract.Data` rows. | | [ContactsContract.RawContactsEntity](https://developer.android.com/reference/android/provider/ContactsContract.RawContactsEntity) | Constants for the raw contacts entities table, which can be thought of as an outer join of the raw_contacts table with the data table. | |

<br />

*** ** * ** ***

Columns in the Data table.
**See also:**

- `https://developer.android.com/reference/android/provider/ContactsContract.Data`

## Summary

| ### Constants ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#CARRIER_PRESENCE` *This constant was deprecated in API level 31. The contacts database will only show presence information on devices where `https://developer.android.com/reference/android/telephony/CarrierConfigManager#KEY_USE_RCS_PRESENCE_BOOL` is true, otherwise use `https://developer.android.com/reference/android/telephony/ims/RcsUceAdapter`.* |
| `int` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#CARRIER_PRESENCE_VT_CAPABLE` *This constant was deprecated in API level 31. Same as `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#CARRIER_PRESENCE`.* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA1` Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA10` Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA11` Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA12` Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA13` Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA14` Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA15` Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA2` Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA3` Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA4` Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA5` Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA6` Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA7` Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA8` Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA9` Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#DATA_VERSION` The version of this data record. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#IS_PRIMARY` Whether this is the primary entry of its kind for the raw contact it belongs to. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#IS_READ_ONLY` The "read-only" flag: "0" by default, "1" if the row cannot be modified or deleted except by a sync adapter. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#IS_SUPER_PRIMARY` Whether this is the primary entry of its kind for the aggregate contact it belongs to. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` The MIME type of the item represented by this row. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#PREFERRED_PHONE_ACCOUNT_COMPONENT_NAME` The flattened `https://developer.android.com/reference/android/content/ComponentName` of a `https://developer.android.com/reference/android/telecom/PhoneAccountHandle` that is the preferred `PhoneAccountHandle` to call the contact with. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#PREFERRED_PHONE_ACCOUNT_ID` The ID of a `https://developer.android.com/reference/android/telecom/PhoneAccountHandle` that is the preferred `PhoneAccountHandle` to call the contact with. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#RAW_CONTACT_ID` A reference to the `https://developer.android.com/reference/android/provider/BaseColumns#_ID` that this data belongs to. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#RES_PACKAGE` The package name to use when creating `https://developer.android.com/reference/android/content/res/Resources` objects for this data row. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#SYNC1` Generic column for use by sync adapters. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#SYNC2` Generic column for use by sync adapters. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#SYNC3` Generic column for use by sync adapters. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#SYNC4` Generic column for use by sync adapters. |

## Constants

### CARRIER_PRESENCE

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level
31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String CARRIER_PRESENCE
```


**This constant was deprecated
in API level 31.**   

The contacts database will only show presence
information on devices where
`https://developer.android.com/reference/android/telephony/CarrierConfigManager#KEY_USE_RCS_PRESENCE_BOOL` is true,
otherwise use `https://developer.android.com/reference/android/telephony/ims/RcsUceAdapter`.

Carrier presence information.


Type: INTEGER (A bitmask of CARRIER_PRESENCE_\* fields)

<br />

<br />

Constant Value:

"carrier_presence"


### CARRIER_PRESENCE_VT_CAPABLE

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level
31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CARRIER_PRESENCE_VT_CAPABLE
```


**This constant was deprecated
in API level 31.**   

Same as `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#CARRIER_PRESENCE`.

Indicates that the entry is Video Telephony (VT) capable on the
current carrier. An allowed bitmask of `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#CARRIER_PRESENCE`.

<br />

Constant Value:

1
(0x00000001)


### DATA1

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA1
```

Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific

<br />

Constant Value:

"data1"


### DATA10

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA10
```

Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific

<br />

Constant Value:

"data10"


### DATA11

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA11
```

Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific

<br />

Constant Value:

"data11"


### DATA12

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA12
```

Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific

<br />

Constant Value:

"data12"


### DATA13

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA13
```

Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific

<br />

Constant Value:

"data13"


### DATA14

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA14
```

Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific

<br />

Constant Value:

"data14"


### DATA15

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA15
```

Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific. By convention,
this field is used to store BLOBs (binary data).

<br />

Constant Value:

"data15"


### DATA2

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA2
```

Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific

<br />

Constant Value:

"data2"


### DATA3

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA3
```

Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific

<br />

Constant Value:

"data3"


### DATA4

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA4
```

Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific

<br />

Constant Value:

"data4"


### DATA5

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA5
```

Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific

<br />

Constant Value:

"data5"


### DATA6

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA6
```

Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific

<br />

Constant Value:

"data6"


### DATA7

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA7
```

Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific

<br />

Constant Value:

"data7"


### DATA8

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA8
```

Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific

<br />

Constant Value:

"data8"


### DATA9

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA9
```

Generic data column, the meaning is `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#MIMETYPE` specific

<br />

Constant Value:

"data9"


### DATA_VERSION

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final 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

<br />

<br />

Constant Value:

"data_version"


### IS_PRIMARY

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final 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)

<br />

<br />

Constant Value:

"is_primary"


### IS_READ_ONLY

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final 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 `https://developer.android.com/reference/android/provider/ContactsContract#CALLER_IS_SYNCADAPTER`.

Type: INTEGER

<br />

<br />

Constant Value:

"is_read_only"


### IS_SUPER_PRIMARY

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final 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)

<br />

<br />

Constant Value:

"is_super_primary"


### MIMETYPE

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String MIMETYPE
```

The MIME type of the item represented by this row.

<br />

Constant Value:

"mimetype"


### PREFERRED_PHONE_ACCOUNT_COMPONENT_NAME

Added in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String PREFERRED_PHONE_ACCOUNT_COMPONENT_NAME
```

The flattened `https://developer.android.com/reference/android/content/ComponentName` of a `https://developer.android.com/reference/android/telecom/PhoneAccountHandle` that is the preferred `PhoneAccountHandle` to
call the contact with.

On a multi-SIM device this field can be used in a `https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Phone` row
to indicate the `https://developer.android.com/reference/android/telecom/PhoneAccountHandle` to call the number with, instead of using
`https://developer.android.com/reference/android/telecom/TelecomManager#getDefaultOutgoingPhoneAccount(java.lang.String)` or asking
every time.

`https://developer.android.com/reference/android/telecom/TelecomManager#placeCall(android.net.Uri,%20android.os.Bundle)`
should be called with `https://developer.android.com/reference/android/telecom/TelecomManager#EXTRA_PHONE_ACCOUNT_HANDLE`
set to the `https://developer.android.com/reference/android/telecom/PhoneAccountHandle` using the `https://developer.android.com/reference/android/content/ComponentName` from this field.

<br />

**See also:**

- `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#PREFERRED_PHONE_ACCOUNT_ID`
- `https://developer.android.com/reference/android/telecom/PhoneAccountHandle#getComponentName()`
- `https://developer.android.com/reference/android/content/ComponentName#flattenToString()`

Constant Value:

"preferred_phone_account_component_name"


### PREFERRED_PHONE_ACCOUNT_ID

Added in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String PREFERRED_PHONE_ACCOUNT_ID
```

The ID of a `https://developer.android.com/reference/android/telecom/PhoneAccountHandle` that is the preferred `PhoneAccountHandle` to
call the contact with. Used by `https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Phone`.

On a multi-SIM device this field can be used in a `https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Phone` row
to indicate the `https://developer.android.com/reference/android/telecom/PhoneAccountHandle` to call the number with, instead of using
`https://developer.android.com/reference/android/telecom/TelecomManager#getDefaultOutgoingPhoneAccount(java.lang.String)` or asking
every time.

`https://developer.android.com/reference/android/telecom/TelecomManager#placeCall(android.net.Uri,%20android.os.Bundle)`
should be called with `https://developer.android.com/reference/android/telecom/TelecomManager#EXTRA_PHONE_ACCOUNT_HANDLE`
set to the `https://developer.android.com/reference/android/telecom/PhoneAccountHandle` using the id from this field.

<br />

**See also:**

- `https://developer.android.com/reference/android/provider/ContactsContract.DataColumns#PREFERRED_PHONE_ACCOUNT_COMPONENT_NAME`
- `https://developer.android.com/reference/android/telecom/PhoneAccountHandle#getId()`

Constant Value:

"preferred_phone_account_id"


### RAW_CONTACT_ID

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String RAW_CONTACT_ID
```

A reference to the `https://developer.android.com/reference/android/provider/BaseColumns#_ID`
that this data belongs to.

<br />

Constant Value:

"raw_contact_id"


### RES_PACKAGE

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String RES_PACKAGE
```

The package name to use when creating `https://developer.android.com/reference/android/content/res/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.

<br />

Constant Value:

"res_package"


### SYNC1

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String SYNC1
```

Generic column for use by sync adapters.

<br />

Constant Value:

"data_sync1"


### SYNC2

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String SYNC2
```

Generic column for use by sync adapters.

<br />

Constant Value:

"data_sync2"


### SYNC3

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String SYNC3
```

Generic column for use by sync adapters.

<br />

Constant Value:

"data_sync3"


### SYNC4

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String SYNC4
```

Generic column for use by sync adapters.

<br />

Constant Value:

"data_sync4"