Added in API level 1
Deprecated in API level 5

Contacts


open class Contacts
kotlin.Any
   ↳ android.provider.Contacts

The Contacts provider stores all information about contacts.

Summary

Nested classes

This table stores all non-phone contact methods and a reference to the person that the contact method belongs to.

abstract

Columns from the ContactMethods table that other tables join into themseleves.

The extensions for a person

abstract

This table contains the groups for an account.

abstract

Columns from the groups table.

Contains helper classes used to create or manage Intents that involve contacts.

abstract

Columns from the Organizations table that other columns join into themselves.

A sub directory of a single person that contains all of their Phones.

This table contains people.

abstract

Columns from the People table that other tables join into themselves.

This table stores phone numbers and a reference to the person that the contact method belongs to.

abstract

Columns from the Phones table that other columns join into themselves.

The photos over all of the people

abstract

Columns from the Photos table that other columns join into themselves.

abstract

The IM presence columns with some contacts specific columns mixed in.

The settings over all of the people

abstract

Columns from the Settings table that other columns join into themselves.

Constants
static String

static Int

Signifies an email address row that is stored in the ContactMethods table

static Int

Signifies an IM address row that is stored in the ContactMethods table

static Int

Signifies an Organization row that is stored in the Organizations table

static Int

Signifies a Phone row that is stored in the Phones table

static Int

Signifies a postal address row that is stored in the ContactMethods table

Properties
static Uri!

The content:// style URL for this provider

Constants

AUTHORITY

Added in API level 1
static val AUTHORITY: String

Deprecated: see android.provider.ContactsContract

Value: "contacts"

KIND_EMAIL

Added in API level 1
static val KIND_EMAIL: Int

Deprecated: see android.provider.ContactsContract

Signifies an email address row that is stored in the ContactMethods table

Value: 1

KIND_IM

Added in API level 1
static val KIND_IM: Int

Deprecated: see android.provider.ContactsContract

Signifies an IM address row that is stored in the ContactMethods table

Value: 3

KIND_ORGANIZATION

Added in API level 1
static val KIND_ORGANIZATION: Int

Deprecated: see android.provider.ContactsContract

Signifies an Organization row that is stored in the Organizations table

Value: 4

KIND_PHONE

Added in API level 1
static val KIND_PHONE: Int

Deprecated: see android.provider.ContactsContract

Signifies a Phone row that is stored in the Phones table

Value: 5

KIND_POSTAL

Added in API level 1
static val KIND_POSTAL: Int

Deprecated: see android.provider.ContactsContract

Signifies a postal address row that is stored in the ContactMethods table

Value: 2

Properties

CONTENT_URI

Added in API level 1
static val CONTENT_URI: Uri!

Deprecated: see android.provider.ContactsContract

The content:// style URL for this provider