Added in API level 11

DisplayNameSources

interface 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
static Int

static Int

static Int

static Int

static Int

static Int

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

static Int

Constants

EMAIL

Added in API level 11
static val EMAIL: Int
Value: 10

NICKNAME

Added in API level 11
static val NICKNAME: Int
Value: 35

ORGANIZATION

Added in API level 11
static val ORGANIZATION: Int
Value: 30

PHONE

Added in API level 11
static val PHONE: Int
Value: 20

STRUCTURED_NAME

Added in API level 11
static val STRUCTURED_NAME: Int
Value: 40

STRUCTURED_PHONETIC_NAME

Added in API level 23
static val STRUCTURED_PHONETIC_NAME: Int

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

Value: 37

UNDEFINED

Added in API level 11
static val UNDEFINED: Int
Value: 0