Added in API level 1
Deprecated in API level 5

Groups


class Groups : BaseColumns, Contacts.GroupsColumns

This table contains the groups for an account.

Summary

Constants
static String

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

static String

The MIME type of CONTENT_URI providing a directory of groups.

static String

The default sort order for this table

static String

static String

The "My Contacts" system group.

Inherited constants
String NAME

The group name.

Type: TEXT

String NOTES

Notes about the group.

Type: TEXT

String SHOULD_SYNC

Whether this group should be synced if the SYNC_EVERYTHING settings is false for this group's account.

Type: INTEGER (boolean)

String SYSTEM_ID

The ID of this group if it is a System Group, null otherwise.

Type: TEXT

String _COUNT

The count of rows in a directory.

Type: INTEGER

String _ID

The unique ID for a row.

Type: INTEGER (long)

Properties
static Uri!

The content:// style URL for this table

static Uri!

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

Constants

CONTENT_ITEM_TYPE

Added in API level 1
static val CONTENT_ITEM_TYPE: String

Deprecated: see android.provider.ContactsContract

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

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

CONTENT_TYPE

Added in API level 1
static val CONTENT_TYPE: String

Deprecated: see android.provider.ContactsContract

The MIME type of CONTENT_URI providing a directory of groups.

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

DEFAULT_SORT_ORDER

Added in API level 1
static val DEFAULT_SORT_ORDER: String

Deprecated: see android.provider.ContactsContract

The default sort order for this table

Value: "name ASC"

GROUP_ANDROID_STARRED

Added in API level 1
static val GROUP_ANDROID_STARRED: String

Deprecated: see android.provider.ContactsContract

Value: "Starred in Android"

GROUP_MY_CONTACTS

Added in API level 1
static val GROUP_MY_CONTACTS: String

Deprecated: see android.provider.ContactsContract

The "My Contacts" system group.

Value: "Contacts"

Properties

CONTENT_URI

Added in API level 1
static val CONTENT_URI: Uri!

Deprecated: see android.provider.ContactsContract

The content:// style URL for this table

DELETED_CONTENT_URI

Added in API level 1
static val DELETED_CONTENT_URI: Uri!

Deprecated: see android.provider.ContactsContract

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