Since: API Level 1
public static interface

Contacts.PhonesColumns

android.provider.Contacts.PhonesColumns
Known Indirect Subclasses

Class Overview

Columns from the Phones table that other columns join into themselves.

Summary

Constants
String ISPRIMARY Whether this is the primary phone number

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

String LABEL The user provided label for the phone number, only used if TYPE is TYPE_CUSTOM.
String NUMBER The phone number as the user entered it.
String NUMBER_KEY The normalized phone number

Type: TEXT

String TYPE The type of the the phone number.
int TYPE_CUSTOM
int TYPE_FAX_HOME
int TYPE_FAX_WORK
int TYPE_HOME
int TYPE_MOBILE
int TYPE_OTHER
int TYPE_PAGER
int TYPE_WORK

Constants

public static final String ISPRIMARY

Since: API Level 1

Whether this is the primary phone number

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

Constant Value: "isprimary"

public static final String LABEL

Since: API Level 1

The user provided label for the phone number, only used if TYPE is TYPE_CUSTOM.

Type: TEXT

Constant Value: "label"

public static final String NUMBER

Since: API Level 1

The phone number as the user entered it.

Type: TEXT

Constant Value: "number"

public static final String NUMBER_KEY

Since: API Level 1

The normalized phone number

Type: TEXT

Constant Value: "number_key"

public static final String TYPE

Since: API Level 1

The type of the the phone number.

Type: INTEGER (one of the constants below)

Constant Value: "type"

public static final int TYPE_CUSTOM

Since: API Level 1

Constant Value: 0 (0x00000000)

public static final int TYPE_FAX_HOME

Since: API Level 1

Constant Value: 5 (0x00000005)

public static final int TYPE_FAX_WORK

Since: API Level 1

Constant Value: 4 (0x00000004)

public static final int TYPE_HOME

Since: API Level 1

Constant Value: 1 (0x00000001)

public static final int TYPE_MOBILE

Since: API Level 1

Constant Value: 2 (0x00000002)

public static final int TYPE_OTHER

Since: API Level 1

Constant Value: 7 (0x00000007)

public static final int TYPE_PAGER

Since: API Level 1

Constant Value: 6 (0x00000006)

public static final int TYPE_WORK

Since: API Level 1

Constant Value: 3 (0x00000003)