Skip to content

Most visited

Recently visited

navigation
Added in API level 11

ContactsContract.DisplayNameSources

public static interface ContactsContract.DisplayNameSources

android.provider.ContactsContract.DisplayNameSources


Types of data used to produce the display name for a contact. In the order of increasing priority: EMAIL, PHONE, ORGANIZATION, NICKNAME, STRUCTURED_PHONETIC_NAME, STRUCTURED_NAME.

Summary

Constants

int EMAIL

int NICKNAME

int ORGANIZATION

int PHONE

int STRUCTURED_NAME

int STRUCTURED_PHONETIC_NAME

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

int UNDEFINED

Constants

EMAIL

Added in API level 11
int EMAIL

Constant Value: 10 (0x0000000a)

NICKNAME

Added in API level 11
int NICKNAME

Constant Value: 35 (0x00000023)

ORGANIZATION

Added in API level 11
int ORGANIZATION

Constant Value: 30 (0x0000001e)

PHONE

Added in API level 11
int PHONE

Constant Value: 20 (0x00000014)

STRUCTURED_NAME

Added in API level 11
int STRUCTURED_NAME

Constant Value: 40 (0x00000028)

STRUCTURED_PHONETIC_NAME

Added in API level 23
int STRUCTURED_PHONETIC_NAME

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

Constant Value: 37 (0x00000025)

UNDEFINED

Added in API level 11
int UNDEFINED

Constant Value: 0 (0x00000000)

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.

Take a one-minute survey?
Help us improve Android tools and documentation.