public
static
final
class
Contacts.ContactMethods
extends Object
implements
BaseColumns,
Contacts.ContactMethodsColumns,
Contacts.PeopleColumns
java.lang.Object | |
↳ | android.provider.Contacts.ContactMethods |
This class was deprecated
in API level 5.
see ContactsContract
This table stores all non-phone contact methods and a reference to the person that the contact method belongs to.
Constants | |
---|---|
String |
CONTENT_EMAIL_ITEM_TYPE
This constant was deprecated
in API level 5.
see |
String |
CONTENT_EMAIL_TYPE
This constant was deprecated
in API level 5.
see |
String |
CONTENT_IM_ITEM_TYPE
This constant was deprecated
in API level 5.
see |
String |
CONTENT_POSTAL_ITEM_TYPE
This constant was deprecated
in API level 5.
see |
String |
CONTENT_POSTAL_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 |
String |
POSTAL_LOCATION_LATITUDE
This constant was deprecated
in API level 5.
see |
String |
POSTAL_LOCATION_LONGITUDE
This constant was deprecated
in API level 5.
see |
int |
PROTOCOL_AIM
This constant was deprecated
in API level 5.
see |
int |
PROTOCOL_GOOGLE_TALK
This constant was deprecated
in API level 5.
see |
int |
PROTOCOL_ICQ
This constant was deprecated
in API level 5.
see |
int |
PROTOCOL_JABBER
This constant was deprecated
in API level 5.
see |
int |
PROTOCOL_MSN
This constant was deprecated
in API level 5.
see |
int |
PROTOCOL_QQ
This constant was deprecated
in API level 5.
see |
int |
PROTOCOL_SKYPE
This constant was deprecated
in API level 5.
see |
int |
PROTOCOL_YAHOO
This constant was deprecated
in API level 5.
see |
Inherited constants |
---|
From
interface
android.provider.BaseColumns
|
From
interface
android.provider.Contacts.ContactMethodsColumns
|
From
interface
android.provider.Contacts.PeopleColumns
|
Fields | |
---|---|
public
static
final
Uri |
CONTENT_EMAIL_URI
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 | |
---|---|
void
|
addPostalLocation(Context context, long postalId, double latitude, double longitude)
This method was deprecated
in API level 5.
see |
static
Object
|
decodeImProtocol(String encodedString)
This method was deprecated
in API level 5.
see |
static
String
|
encodeCustomImProtocol(String protocolString)
This method was deprecated
in API level 5.
see |
static
String
|
encodePredefinedImProtocol(int protocol)
This method was deprecated
in API level 5.
see |
static
final
CharSequence
|
getDisplayLabel(Context context, int kind, int type, CharSequence label)
This method was deprecated
in API level 5.
see |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
String CONTENT_EMAIL_ITEM_TYPE
This constant was deprecated
in API level 5.
see ContactsContract
The MIME type of a CONTENT_URI
sub-directory of a single
KIND_EMAIL
entry.
Constant Value: "vnd.android.cursor.item/email"
String CONTENT_EMAIL_TYPE
This constant was deprecated
in API level 5.
see ContactsContract
The MIME type of a CONTENT_EMAIL_URI
sub-directory of
multiple KIND_EMAIL
entries.
Constant Value: "vnd.android.cursor.dir/email"
String CONTENT_IM_ITEM_TYPE
This constant was deprecated
in API level 5.
see ContactsContract
The MIME type of a CONTENT_URI
sub-directory of a single
KIND_IM
entry.
Constant Value: "vnd.android.cursor.item/jabber-im"
String CONTENT_POSTAL_ITEM_TYPE
This constant was deprecated
in API level 5.
see ContactsContract
The MIME type of a CONTENT_URI
sub-directory of a single
KIND_POSTAL
entry.
Constant Value: "vnd.android.cursor.item/postal-address"
String CONTENT_POSTAL_TYPE
This constant was deprecated
in API level 5.
see ContactsContract
The MIME type of a CONTENT_EMAIL_URI
sub-directory of
multiple KIND_POSTAL
entries.
Constant Value: "vnd.android.cursor.dir/postal-address"
String CONTENT_TYPE
This constant was deprecated
in API level 5.
see ContactsContract
phones.
The MIME type of CONTENT_URI
providing a directory of
Constant Value: "vnd.android.cursor.dir/contact-methods"
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 contact method is assigned to.
Type: INTEGER (long)
Constant Value: "person"
String POSTAL_LOCATION_LATITUDE
This constant was deprecated
in API level 5.
see ContactsContract
The column with latitude data for postal locations
Type: REAL
Constant Value: "data"
String POSTAL_LOCATION_LONGITUDE
This constant was deprecated
in API level 5.
see ContactsContract
The column with longitude data for postal locations
Type: REAL
Constant Value: "aux_data"
int PROTOCOL_AIM
This constant was deprecated
in API level 5.
see ContactsContract
The predefined IM protocol types. The protocol can either be non-present, one
of these types, or a free-form string. These cases are encoded in the AUX_DATA
column as:
- null
- pre:
Constant Value: 0 (0x00000000)
int PROTOCOL_GOOGLE_TALK
This constant was deprecated
in API level 5.
see ContactsContract
Constant Value: 5 (0x00000005)
int PROTOCOL_ICQ
This constant was deprecated
in API level 5.
see ContactsContract
Constant Value: 6 (0x00000006)
int PROTOCOL_JABBER
This constant was deprecated
in API level 5.
see ContactsContract
Constant Value: 7 (0x00000007)
int PROTOCOL_MSN
This constant was deprecated
in API level 5.
see ContactsContract
Constant Value: 1 (0x00000001)
int PROTOCOL_QQ
This constant was deprecated
in API level 5.
see ContactsContract
Constant Value: 4 (0x00000004)
int PROTOCOL_SKYPE
This constant was deprecated
in API level 5.
see ContactsContract
Constant Value: 3 (0x00000003)
int PROTOCOL_YAHOO
This constant was deprecated
in API level 5.
see ContactsContract
Constant Value: 2 (0x00000002)
Uri CONTENT_EMAIL_URI
This field was deprecated
in API level 5.
see ContactsContract
The content:// style URL for sub-directory of e-mail addresses.
Uri CONTENT_URI
This field was deprecated
in API level 5.
see ContactsContract
The content:// style URL for this table
void addPostalLocation (Context context, long postalId, double latitude, double longitude)
This method was deprecated
in API level 5.
see ContactsContract
Add a longitude and latitude location to a postal address.
Parameters | |
---|---|
context |
Context :
the context to use when updating the database |
postalId |
long :
the address to update |
latitude |
double :
the latitude for the address |
longitude |
double :
the longitude for the address |
Object decodeImProtocol (String encodedString)
This method was deprecated
in API level 5.
see ContactsContract
Parameters | |
---|---|
encodedString |
String
|
Returns | |
---|---|
Object |
String encodeCustomImProtocol (String protocolString)
This method was deprecated
in API level 5.
see ContactsContract
Parameters | |
---|---|
protocolString |
String
|
Returns | |
---|---|
String |
String encodePredefinedImProtocol (int protocol)
This method was deprecated
in API level 5.
see ContactsContract
Parameters | |
---|---|
protocol |
int
|
Returns | |
---|---|
String |
CharSequence getDisplayLabel (Context context, int kind, int type, CharSequence label)
This method was deprecated
in API level 5.
see ContactsContract
Parameters | |
---|---|
context |
Context
|
kind |
int
|
type |
int
|
label |
CharSequence
|
Returns | |
---|---|
CharSequence |