Phones
classPhones: BaseColumns, Contacts.PhonesColumns, Contacts.PeopleColumns
kotlin.Any | |
↳ | android.provider.Contacts.Phones |
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 | |
---|---|
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 phone number is assigned to. |
Inherited constants | |
---|---|
Public methods | |
---|---|
static CharSequence! |
getDisplayLabel(context: Context!, type: Int, label: CharSequence!, labelArray: Array<CharSequence!>!) |
static CharSequence! |
getDisplayLabel(context: Context!, type: Int, label: CharSequence!) |
Properties | |
---|---|
static Uri! |
The content:// style URL for filtering phone numbers |
static Uri! |
The content:// style URL for this table |
Constants
CONTENT_ITEM_TYPE
static valCONTENT_ITEM_TYPE: String
Deprecated: see android.provider.ContactsContract
The MIME type of a CONTENT_URI
subdirectory of a single phone.
Value: "vnd.android.cursor.item/phone"
CONTENT_TYPE
static valCONTENT_TYPE: String
Deprecated: see android.provider.ContactsContract
The MIME type of CONTENT_URI
providing a directory of phones.
Value: "vnd.android.cursor.dir/phone"
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 phone number is assigned to.
Type: INTEGER (long)
Value: "person"
Public methods
getDisplayLabel
static fungetDisplayLabel(
context: Context!,
type: Int,
label: CharSequence!,
labelArray: Array<CharSequence!>!
): CharSequence!
Deprecated: see android.provider.ContactsContract
getDisplayLabel
static fungetDisplayLabel(
context: Context!,
type: Int,
label: CharSequence!
): CharSequence!
Deprecated: see android.provider.ContactsContract
Properties
CONTENT_FILTER_URL
static valCONTENT_FILTER_URL: Uri!
Deprecated: see android.provider.ContactsContract
The content:// style URL for filtering phone numbers
CONTENT_URI
static valCONTENT_URI: Uri!
Deprecated: see android.provider.ContactsContract
The content:// style URL for this table