public static final class

ContactsContract.AggregationExceptions

extends Object
implements BaseColumns
java.lang.Object
   ↳android.provider.ContactsContract.AggregationExceptions

Class Overview

Constants for the contact aggregation exceptions table, which contains aggregation rules overriding those used by automatic aggregation. This type only supports query and update. Neither insert nor delete are supported.

Columns

AggregationExceptions
intTYPEread/writeThe type of exception: TYPE_KEEP_TOGETHER, TYPE_KEEP_SEPARATE or TYPE_AUTOMATIC.
longRAW_CONTACT_ID1read/writeA reference to the _ID of the raw contact that the rule applies to.
longRAW_CONTACT_ID2read/writeA reference to the other _ID of the raw contact that the rule applies to.

Summary

Constants
StringCONTENT_ITEM_TYPEThe MIME type of a CONTENT_URI subdirectory of an aggregation exception
StringCONTENT_TYPEThe MIME type of CONTENT_URI providing a directory of data.
UriCONTENT_URIThe content:// style URI for this table
StringRAW_CONTACT_ID1A reference to the _ID of the raw contact that the rule applies to.
StringRAW_CONTACT_ID2A reference to the other _ID of the raw contact that the rule applies to.
StringTYPEThe type of exception: TYPE_KEEP_TOGETHER, TYPE_KEEP_SEPARATE or TYPE_AUTOMATIC.
intTYPE_AUTOMATICAllows the provider to automatically decide whether the specified raw contacts should be included in the same aggregate contact or not.
intTYPE_KEEP_SEPARATEMakes sure that the specified raw contacts are NOT included in the same aggregate contact.
intTYPE_KEEP_TOGETHERMakes sure that the specified raw contacts are included in the same aggregate contact.
[Expand]
Inherited Constants
From interface android.provider.BaseColumns
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String CONTENT_ITEM_TYPE

Since: API Level 5

The MIME type of a CONTENT_URI subdirectory of an aggregation exception

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

public static final String CONTENT_TYPE

Since: API Level 5

The MIME type of CONTENT_URI providing a directory of data.

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

public static final Uri CONTENT_URI

Since: API Level 5

The content:// style URI for this table

public static final String RAW_CONTACT_ID1

Since: API Level 5

A reference to the _ID of the raw contact that the rule applies to.

Constant Value: "raw_contact_id1"

public static final String RAW_CONTACT_ID2

Since: API Level 5

A reference to the other _ID of the raw contact that the rule applies to.

Constant Value: "raw_contact_id2"

public static final String TYPE

Since: API Level 5

The type of exception: TYPE_KEEP_TOGETHER, TYPE_KEEP_SEPARATE or TYPE_AUTOMATIC.

Type: INTEGER

Constant Value: "type"

public static final int TYPE_AUTOMATIC

Since: API Level 5

Allows the provider to automatically decide whether the specified raw contacts should be included in the same aggregate contact or not.

Constant Value: 0 (0x00000000)

public static final int TYPE_KEEP_SEPARATE

Since: API Level 5

Makes sure that the specified raw contacts are NOT included in the same aggregate contact.

Constant Value: 2 (0x00000002)

public static final int TYPE_KEEP_TOGETHER

Since: API Level 5

Makes sure that the specified raw contacts are included in the same aggregate contact.

Constant Value: 1 (0x00000001)