public class

Contacts

extends Object
java.lang.Object
   ↳ android.provider.Contacts

Class Overview

The Contacts provider stores all information about contacts.

Summary

Nested Classes
class Contacts.ContactMethods This table stores all non-phone contact methods and a reference to the person that the contact method belongs to. 
interface Contacts.ContactMethodsColumns Columns from the ContactMethods table that other tables join into themseleves. 
class Contacts.Extensions The extensions for a person  
interface Contacts.ExtensionsColumns  
class Contacts.GroupMembership  
class Contacts.Groups This table contains the groups for an account. 
interface Contacts.GroupsColumns Columns from the groups table. 
class Contacts.Intents Contains helper classes used to create or manage Intents that involve contacts. 
interface Contacts.OrganizationColumns Columns from the Organizations table that other columns join into themselves. 
class Contacts.Organizations A sub directory of a single person that contains all of their Phones. 
class Contacts.People This table contains people. 
interface Contacts.PeopleColumns Columns from the People table that other tables join into themselves. 
class Contacts.Phones This table stores phone numbers and a reference to the person that the contact method belongs to. 
interface Contacts.PhonesColumns Columns from the Phones table that other columns join into themselves. 
class Contacts.Photos The photos over all of the people  
interface Contacts.PhotosColumns Columns from the Photos table that other columns join into themselves. 
interface Contacts.PresenceColumns The IM presence columns with some contacts specific columns mixed in. 
class Contacts.Settings The settings over all of the people  
interface Contacts.SettingsColumns Columns from the Settings table that other columns join into themselves. 
Constants
String AUTHORITY
Uri CONTENT_URI The content:// style URL for this provider
int KIND_EMAIL Signifies an email address row that is stored in the ContactMethods table
int KIND_IM Signifies an IM address row that is stored in the ContactMethods table
int KIND_ORGANIZATION Signifies an Organization row that is stored in the Organizations table
int KIND_PHONE Signifies an Phone row that is stored in the Phones table
int KIND_POSTAL Signifies a postal address row that is stored in the ContactMethods table
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String AUTHORITY

Since: API Level 1

Constant Value: "contacts"

public static final Uri CONTENT_URI

Since: API Level 1

The content:// style URL for this provider

public static final int KIND_EMAIL

Since: API Level 1

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

Constant Value: 1 (0x00000001)

public static final int KIND_IM

Since: API Level 1

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

Constant Value: 3 (0x00000003)

public static final int KIND_ORGANIZATION

Since: API Level 1

Signifies an Organization row that is stored in the Organizations table

Constant Value: 4 (0x00000004)

public static final int KIND_PHONE

Since: API Level 1

Signifies an Phone row that is stored in the Phones table

Constant Value: 5 (0x00000005)

public static final int KIND_POSTAL

Since: API Level 1

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

Constant Value: 2 (0x00000002)