Skip to content

Most visited

Recently visited

navigation

Contacts.Groups

public static final class Contacts.Groups
extends Object implements BaseColumns, Contacts.GroupsColumns

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


This class was deprecated in API level 5.
see ContactsContract

This table contains the groups for an account.

Summary

Constants

String CONTENT_ITEM_TYPE

This constant was deprecated in API level 5. see ContactsContract

String CONTENT_TYPE

This constant was deprecated in API level 5. see ContactsContract

String DEFAULT_SORT_ORDER

This constant was deprecated in API level 5. see ContactsContract

String GROUP_ANDROID_STARRED

This constant was deprecated in API level 5. see ContactsContract

String GROUP_MY_CONTACTS

This constant was deprecated in API level 5. see ContactsContract

Inherited constants

From interface android.provider.BaseColumns
From interface android.provider.Contacts.GroupsColumns

Fields

public static final Uri CONTENT_URI

This field was deprecated in API level 5. see ContactsContract

public static final Uri DELETED_CONTENT_URI

This field was deprecated in API level 5. see ContactsContract

Inherited methods

From class java.lang.Object

Constants

CONTENT_ITEM_TYPE

Added in API level 1
String CONTENT_ITEM_TYPE

This constant was deprecated in API level 5.
see ContactsContract

The MIME type of a CONTENT_URI subdirectory of a single group.

Constant Value: "vnd.android.cursor.item/contactsgroup"

CONTENT_TYPE

Added in API level 1
String CONTENT_TYPE

This constant was deprecated in API level 5.
see ContactsContract

The MIME type of CONTENT_URI providing a directory of groups.

Constant Value: "vnd.android.cursor.dir/contactsgroup"

DEFAULT_SORT_ORDER

Added in API level 1
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"

GROUP_ANDROID_STARRED

Added in API level 1
String GROUP_ANDROID_STARRED

This constant was deprecated in API level 5.
see ContactsContract

Constant Value: "Starred in Android"

GROUP_MY_CONTACTS

Added in API level 1
String GROUP_MY_CONTACTS

This constant was deprecated in API level 5.
see ContactsContract

The "My Contacts" system group.

Constant Value: "Contacts"

Fields

CONTENT_URI

Added in API level 1
Uri CONTENT_URI

This field was deprecated in API level 5.
see ContactsContract

The content:// style URL for this table

DELETED_CONTENT_URI

Added in API level 1
Uri DELETED_CONTENT_URI

This field was deprecated in API level 5.
see ContactsContract

The content:// style URL for the table that holds the deleted groups.

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.