to top
Android APIs
Added in API level 11
public static interface

ContactsContract.DisplayNameSources

android.provider.ContactsContract.DisplayNameSources

Class Overview

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

Summary

Constants
int EMAIL
int NICKNAME
int ORGANIZATION
int PHONE
int STRUCTURED_NAME
int UNDEFINED

Constants

public static final int EMAIL

Added in API level 11

Constant Value: 10 (0x0000000a)

public static final int NICKNAME

Added in API level 11

Constant Value: 35 (0x00000023)

public static final int ORGANIZATION

Added in API level 11

Constant Value: 30 (0x0000001e)

public static final int PHONE

Added in API level 11

Constant Value: 20 (0x00000014)

public static final int STRUCTURED_NAME

Added in API level 11

Constant Value: 40 (0x00000028)

public static final int UNDEFINED

Added in API level 11

Constant Value: 0 (0x00000000)
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.