ContactMethods
classContactMethods: BaseColumns, Contacts.ContactMethodsColumns, Contacts.PeopleColumns
kotlin.Any | |
↳ | android.provider.Contacts.ContactMethods |
This table stores all non-phone contact methods and a reference to the person that the contact method belongs to.
Summary
Constants | |
---|---|
static String |
The MIME type of a |
static String |
The MIME type of a |
static String |
The MIME type of a |
static String |
The MIME type of a |
static String |
The MIME type of a |
static String |
The MIME type of |
static String |
The default sort order for this table |
static String |
The ID of the person this contact method is assigned to. |
static String |
The column with latitude data for postal locations |
static String |
The column with longitude data for postal locations |
static Int |
The predefined IM protocol types. |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int |
Inherited constants | |
---|---|
Public methods | |
---|---|
Unit |
addPostalLocation(context: Context!, postalId: Long, latitude: Double, longitude: Double) Add a longitude and latitude location to a postal address. |
static Any! |
decodeImProtocol(encodedString: String!) |
static String! |
encodeCustomImProtocol(protocolString: String!) |
static String! |
encodePredefinedImProtocol(protocol: Int) |
static CharSequence! |
getDisplayLabel(context: Context!, kind: Int, type: Int, label: CharSequence!) |
Properties | |
---|---|
static Uri! |
The content:// style URL for sub-directory of e-mail addresses. |
static Uri! |
The content:// style URL for this table |
Constants
CONTENT_EMAIL_ITEM_TYPE
static valCONTENT_EMAIL_ITEM_TYPE: String
Deprecated: see android.provider.ContactsContract
The MIME type of a CONTENT_URI
sub-directory of a single Contacts.KIND_EMAIL
entry.
Value: "vnd.android.cursor.item/email"
CONTENT_EMAIL_TYPE
static valCONTENT_EMAIL_TYPE: String
Deprecated: see android.provider.ContactsContract
The MIME type of a CONTENT_EMAIL_URI
sub-directory of multiple Contacts.KIND_EMAIL
entries.
Value: "vnd.android.cursor.dir/email"
CONTENT_IM_ITEM_TYPE
static valCONTENT_IM_ITEM_TYPE: String
Deprecated: see android.provider.ContactsContract
The MIME type of a CONTENT_URI
sub-directory of a single Contacts.KIND_IM
entry.
Value: "vnd.android.cursor.item/jabber-im"
CONTENT_POSTAL_ITEM_TYPE
static valCONTENT_POSTAL_ITEM_TYPE: String
Deprecated: see android.provider.ContactsContract
The MIME type of a CONTENT_URI
sub-directory of a single Contacts.KIND_POSTAL
entry.
Value: "vnd.android.cursor.item/postal-address"
CONTENT_POSTAL_TYPE
static valCONTENT_POSTAL_TYPE: String
Deprecated: see android.provider.ContactsContract
The MIME type of a CONTENT_EMAIL_URI
sub-directory of multiple Contacts.KIND_POSTAL
entries.
Value: "vnd.android.cursor.dir/postal-address"
CONTENT_TYPE
static valCONTENT_TYPE: String
Deprecated: see android.provider.ContactsContract
phones.
The MIME type of CONTENT_URI
providing a directory of
Value: "vnd.android.cursor.dir/contact-methods"
DEFAULT_SORT_ORDER
static valDEFAULT_SORT_ORDER: String
Deprecated: see android.provider.ContactsContract
The default sort order for this table
Value: "name ASC"
PERSON_ID
static valPERSON_ID: String
Deprecated: see android.provider.ContactsContract
The ID of the person this contact method is assigned to.
Type: INTEGER (long)
Value: "person"
POSTAL_LOCATION_LATITUDE
static valPOSTAL_LOCATION_LATITUDE: String
Deprecated: see android.provider.ContactsContract
The column with latitude data for postal locations
Type: REAL
Value: "data"
POSTAL_LOCATION_LONGITUDE
static valPOSTAL_LOCATION_LONGITUDE: String
Deprecated: see android.provider.ContactsContract
The column with longitude data for postal locations
Type: REAL
Value: "aux_data"
PROTOCOL_AIM
static valPROTOCOL_AIM: Int
Deprecated: see android.provider.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: - custom:
Value: 0
PROTOCOL_GOOGLE_TALK
static valPROTOCOL_GOOGLE_TALK: Int
Deprecated: see android.provider.ContactsContract
Value: 5
PROTOCOL_ICQ
static valPROTOCOL_ICQ: Int
Deprecated: see android.provider.ContactsContract
Value: 6
PROTOCOL_JABBER
static valPROTOCOL_JABBER: Int
Deprecated: see android.provider.ContactsContract
Value: 7
PROTOCOL_MSN
static valPROTOCOL_MSN: Int
Deprecated: see android.provider.ContactsContract
Value: 1
PROTOCOL_QQ
static valPROTOCOL_QQ: Int
Deprecated: see android.provider.ContactsContract
Value: 4
PROTOCOL_SKYPE
static valPROTOCOL_SKYPE: Int
Deprecated: see android.provider.ContactsContract
Value: 3
PROTOCOL_YAHOO
static valPROTOCOL_YAHOO: Int
Deprecated: see android.provider.ContactsContract
Value: 2
Public methods
addPostalLocation
funaddPostalLocation(
context: Context!,
postalId: Long,
latitude: Double,
longitude: Double
): Unit
Deprecated: see android.provider.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 |
decodeImProtocol
static fundecodeImProtocol(encodedString: String!): Any!
Deprecated: see android.provider.ContactsContract
encodeCustomImProtocol
static funencodeCustomImProtocol(protocolString: String!): String!
Deprecated: see android.provider.ContactsContract
encodePredefinedImProtocol
static funencodePredefinedImProtocol(protocol: Int): String!
Deprecated: see android.provider.ContactsContract
getDisplayLabel
static fungetDisplayLabel(
context: Context!,
kind: Int,
type: Int,
label: CharSequence!
): CharSequence!
Deprecated: see android.provider.ContactsContract
Properties
CONTENT_EMAIL_URI
static valCONTENT_EMAIL_URI: Uri!
Deprecated: see android.provider.ContactsContract
The content:// style URL for sub-directory of e-mail addresses.
CONTENT_URI
static valCONTENT_URI: Uri!
Deprecated: see android.provider.ContactsContract
The content:// style URL for this table