Added in API level 1
Deprecated in API level 5

ContactMethods


class ContactMethods : BaseColumns, Contacts.ContactMethodsColumns, Contacts.PeopleColumns

A subdirectory of a single person that contains all of their ContactMethods.

Summary

Constants
static String

The directory twig for this sub-table

static String

The default sort order for this table

Inherited constants
String AUX_DATA

Auxiliary data for the contact method.

Type: TEXT

String DATA

The data for the contact method.

Type: TEXT

String ISPRIMARY

Whether this is the primary organization

Type: INTEGER (if set, non-0 means true)

String KIND

The kind of the the contact method. For example, email address, postal address, etc.

Type: INTEGER (one of the values below)

String LABEL

The user defined label for the the contact method.

Type: TEXT

String TYPE

The type of the contact method, must be one of the types below.

Type: INTEGER (one of the values below)

Int TYPE_CUSTOM

Int TYPE_HOME

Int TYPE_OTHER

Int TYPE_WORK

String CUSTOM_RINGTONE

A custom ringtone associated with a person. Not always present.

Type: TEXT (URI to the ringtone)

String DISPLAY_NAME

The display name. If name is not null name, else if number is not null number, else if email is not null email.

Type: TEXT

String LAST_TIME_CONTACTED

The last time a person was contacted.

Type: INTEGER

String NAME

The person's name.

Type: TEXT

String NOTES

Notes about the person.

Type: TEXT

String PHONETIC_NAME

Phonetic equivalent of the person's name, in a locale-dependent character set (e.g. hiragana for Japanese). Used for pronunciation and/or collation in some languages.

Type: TEXT

String PHOTO_VERSION

The server version of the photo

Type: TEXT (the version number portion of the photo URI)

String SEND_TO_VOICEMAIL

Whether the person should always be sent to voicemail. Not always present.

Type: INTEGER (0 for false, 1 for true)

String STARRED

Is the contact starred?

Type: INTEGER (boolean)

String TIMES_CONTACTED

The number of times a person has been contacted

Type: INTEGER

String _COUNT

The count of rows in a directory.

Type: INTEGER

String _ID

The unique ID for a row.

Type: INTEGER (long)

Constants

CONTENT_DIRECTORY

Added in API level 1
static val CONTENT_DIRECTORY: String

Deprecated: see android.provider.ContactsContract

The directory twig for this sub-table

Value: "contact_methods"

DEFAULT_SORT_ORDER

Added in API level 1
static val DEFAULT_SORT_ORDER: String

Deprecated: see android.provider.ContactsContract

The default sort order for this table

Value: "data ASC"