Contacts.Phones | API reference | Android Developers
public
static
final
class
Contacts.Phones
extends Object
implements
BaseColumns,
Contacts.PeopleColumns,
Contacts.PhonesColumns
This class was deprecated
in API level 5.
see ContactsContract
This table stores phone numbers and a reference to the person that the contact method belongs to. Phone numbers are stored separately from other contact methods to make caller ID lookup more efficient.
Summary
Constants | |
|---|---|
String |
CONTENT_ITEM_TYPE
This constant is deprecated.
see |
String |
CONTENT_TYPE
This constant is deprecated.
see |
String |
DEFAULT_SORT_ORDER
This constant is deprecated.
see |
String |
PERSON_ID
This constant is deprecated.
see |
Inherited constants | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
From interface
| ||||||||||||||||||||||||||
|
From interface
| ||||||||||||||||||||||||||
|
From interface
|
Fields | |
|---|---|
public
static
final
Uri |
CONTENT_FILTER_URL
This field is deprecated.
see |
public
static
final
Uri |
CONTENT_URI
This field is deprecated.
see |
Public methods | |
|---|---|
static
CharSequence
|
getDisplayLabel(Context context, int type, CharSequence label, CharSequence[] labelArray)
This method is deprecated.
see |
static
CharSequence
|
getDisplayLabel(Context context, int type, CharSequence label)
This method is deprecated.
see |
Inherited methods | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
From class
| |||||||||||||||||||||||
Constants
CONTENT_ITEM_TYPE
public static final String CONTENT_ITEM_TYPE
This constant is deprecated.
see ContactsContract
The MIME type of a CONTENT_URI subdirectory of a single
phone.
Constant Value: "vnd.android.cursor.item/phone"
CONTENT_TYPE
public static final String CONTENT_TYPE
This constant is deprecated.
see ContactsContract
The MIME type of CONTENT_URI providing a directory of
phones.
Constant Value: "vnd.android.cursor.dir/phone"
DEFAULT_SORT_ORDER
public static final String DEFAULT_SORT_ORDER
This constant is deprecated.
see ContactsContract
The default sort order for this table
Constant Value: "name ASC"
PERSON_ID
public static final String PERSON_ID
This constant is deprecated.
see ContactsContract
The ID of the person this phone number is assigned to.
Type: INTEGER (long)
Constant Value: "person"
Fields
CONTENT_FILTER_URL
public static final Uri CONTENT_FILTER_URL
This field is deprecated.
see ContactsContract
The content:// style URL for filtering phone numbers
CONTENT_URI
public static final Uri CONTENT_URI
This field is deprecated.
see ContactsContract
The content:// style URL for this table