public
static
final
class
Contacts.Phones
extends Object
implements
BaseColumns,
Contacts.PhonesColumns,
Contacts.PeopleColumns
java.lang.Object | |
↳ | android.provider.Contacts.Phones |
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.
Constants | |
---|---|
String |
CONTENT_ITEM_TYPE
This constant was deprecated
in API level 5.
see |
String |
CONTENT_TYPE
This constant was deprecated
in API level 5.
see |
String |
DEFAULT_SORT_ORDER
This constant was deprecated
in API level 5.
see |
String |
PERSON_ID
This constant was deprecated
in API level 5.
see |
Inherited constants |
---|
From
interface
android.provider.BaseColumns
|
From
interface
android.provider.Contacts.PhonesColumns
|
From
interface
android.provider.Contacts.PeopleColumns
|
Fields | |
---|---|
public
static
final
Uri |
CONTENT_FILTER_URL
This field was deprecated
in API level 5.
see |
public
static
final
Uri |
CONTENT_URI
This field was deprecated
in API level 5.
see |
Public methods | |
---|---|
static
final
CharSequence
|
getDisplayLabel(Context context, int type, CharSequence label, CharSequence[] labelArray)
This method was deprecated
in API level 5.
see |
static
final
CharSequence
|
getDisplayLabel(Context context, int type, CharSequence label)
This method was deprecated
in API level 5.
see |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
String CONTENT_ITEM_TYPE
This constant was deprecated
in API level 5.
see ContactsContract
The MIME type of a CONTENT_URI
subdirectory of a single
phone.
Constant Value: "vnd.android.cursor.item/phone"
String CONTENT_TYPE
This constant was deprecated
in API level 5.
see ContactsContract
The MIME type of CONTENT_URI
providing a directory of
phones.
Constant Value: "vnd.android.cursor.dir/phone"
String DEFAULT_SORT_ORDER
This constant was deprecated
in API level 5.
see ContactsContract
The default sort order for this table
Constant Value: "name ASC"
String PERSON_ID
This constant was deprecated
in API level 5.
see ContactsContract
The ID of the person this phone number is assigned to.
Type: INTEGER (long)
Constant Value: "person"
Uri CONTENT_FILTER_URL
This field was deprecated
in API level 5.
see ContactsContract
The content:// style URL for filtering phone numbers
Uri CONTENT_URI
This field was deprecated
in API level 5.
see ContactsContract
The content:// style URL for this table
CharSequence getDisplayLabel (Context context, int type, CharSequence label, CharSequence[] labelArray)
This method was deprecated
in API level 5.
see ContactsContract
Parameters | |
---|---|
context |
Context
|
type |
int
|
label |
CharSequence
|
labelArray |
CharSequence
|
Returns | |
---|---|
CharSequence |
CharSequence getDisplayLabel (Context context, int type, CharSequence label)
This method was deprecated
in API level 5.
see ContactsContract
Parameters | |
---|---|
context |
Context
|
type |
int
|
label |
CharSequence
|
Returns | |
---|---|
CharSequence |