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

# ContactsContract.DisplayNameSources

*** ** * ** ***

` public static interface ContactsContract.DisplayNameSources `   
` `

|---|
| android.provider.ContactsContract.DisplayNameSources |

<br />

*** ** * ** ***

Types of data used to produce the display name for a contact. In the order of increasing priority: `https://developer.android.com/reference/android/provider/ContactsContract.DisplayNameSources#EMAIL`, `https://developer.android.com/reference/android/provider/ContactsContract.DisplayNameSources#PHONE`, `https://developer.android.com/reference/android/provider/ContactsContract.DisplayNameSources#ORGANIZATION`, `https://developer.android.com/reference/android/provider/ContactsContract.DisplayNameSources#NICKNAME`, `https://developer.android.com/reference/android/provider/ContactsContract.DisplayNameSources#STRUCTURED_PHONETIC_NAME`, `https://developer.android.com/reference/android/provider/ContactsContract.DisplayNameSources#STRUCTURED_NAME`.

## Summary

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/provider/ContactsContract.DisplayNameSources#EMAIL` <br /> |
| `int` | `https://developer.android.com/reference/android/provider/ContactsContract.DisplayNameSources#NICKNAME` <br /> |
| `int` | `https://developer.android.com/reference/android/provider/ContactsContract.DisplayNameSources#ORGANIZATION` <br /> |
| `int` | `https://developer.android.com/reference/android/provider/ContactsContract.DisplayNameSources#PHONE` <br /> |
| `int` | `https://developer.android.com/reference/android/provider/ContactsContract.DisplayNameSources#STRUCTURED_NAME` <br /> |
| `int` | `https://developer.android.com/reference/android/provider/ContactsContract.DisplayNameSources#STRUCTURED_PHONETIC_NAME` Display name comes from a structured name that only has phonetic components. |
| `int` | `https://developer.android.com/reference/android/provider/ContactsContract.DisplayNameSources#UNDEFINED` <br /> |

## Constants

### EMAIL

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

```
public static final int EMAIL
```

<br />

<br />

Constant Value: 10 (0x0000000a)

### NICKNAME

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

```
public static final int NICKNAME
```

<br />

<br />

Constant Value: 35 (0x00000023)

### ORGANIZATION

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

```
public static final int ORGANIZATION
```

<br />

<br />

Constant Value: 30 (0x0000001e)

### PHONE

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

```
public static final int PHONE
```

<br />

<br />

Constant Value: 20 (0x00000014)

### STRUCTURED_NAME

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

```
public static final int STRUCTURED_NAME
```

<br />

<br />

Constant Value: 40 (0x00000028)

### STRUCTURED_PHONETIC_NAME

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

```
public static final int STRUCTURED_PHONETIC_NAME
```

Display name comes from a structured name that only has phonetic components.

<br />

Constant Value: 37 (0x00000025)

### UNDEFINED

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

```
public static final int UNDEFINED
```

<br />

<br />

Constant Value: 0 (0x00000000)