Android
android.provider
public static interface

android.provider.Contacts.PhonesColumns

android.provider.Contacts.PhonesColumns

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

Known Indirect Subclasses

Summary

Constants

      Value  
String  ISPRIMARY  Whether this is the primary phone number

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

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

Type: TEXT

 
"number_key" 
String  TYPE  The type of the the phone number.  "type" 
int  TYPE_CUSTOM    0x00000000 
int  TYPE_FAX_HOME    0x00000005 
int  TYPE_FAX_WORK    0x00000004 
int  TYPE_HOME    0x00000001 
int  TYPE_MOBILE    0x00000002 
int  TYPE_OTHER    0x00000007 
int  TYPE_PAGER    0x00000006 
int  TYPE_WORK    0x00000003 

Details

Constants

public static final String ISPRIMARY

Whether this is the primary phone number

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

Constant Value: "isprimary"

public static final String LABEL

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

The phone number as the user entered it.

Type: TEXT

Constant Value: "number"

public static final String NUMBER_KEY

The normalized phone number

Type: TEXT

Constant Value: "number_key"

public static final String TYPE

The type of the the phone number.

Type: INTEGER (one of the constants below)

Constant Value: "type"

public static final int TYPE_CUSTOM

Constant Value: 0 (0x00000000)

public static final int TYPE_FAX_HOME

Constant Value: 5 (0x00000005)

public static final int TYPE_FAX_WORK

Constant Value: 4 (0x00000004)

public static final int TYPE_HOME

Constant Value: 1 (0x00000001)

public static final int TYPE_MOBILE

Constant Value: 2 (0x00000002)

public static final int TYPE_OTHER

Constant Value: 7 (0x00000007)

public static final int TYPE_PAGER

Constant Value: 6 (0x00000006)

public static final int TYPE_WORK

Constant Value: 3 (0x00000003)
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48