public static final class ContactsContract.AggregationExceptions extends Object implements BaseColumns
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.
AggregationExceptions | |||
---|---|---|---|
int | TYPE |
read/write | The type of exception: TYPE_KEEP_TOGETHER ,
TYPE_KEEP_SEPARATE or TYPE_AUTOMATIC . |
long | RAW_CONTACT_ID1 |
read/write | A reference to the BaseColumns._ID of the raw contact that
the rule applies to. |
long | RAW_CONTACT_ID2 |
read/write | A reference to the other BaseColumns._ID of the raw contact
that the rule applies to. |
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_ITEM_TYPE
The MIME type of a
CONTENT_URI subdirectory of an aggregation exception |
static String |
CONTENT_TYPE
The MIME type of
CONTENT_URI providing a directory of data. |
static Uri |
CONTENT_URI
The content:// style URI for this table
|
static String |
RAW_CONTACT_ID1
A reference to the
BaseColumns._ID of the raw contact that the rule applies to. |
static String |
RAW_CONTACT_ID2
A reference to the other
BaseColumns._ID of the raw contact that the rule
applies to. |
static String |
TYPE
|
static int |
TYPE_AUTOMATIC
Allows the provider to automatically decide whether the specified raw contacts should
be included in the same aggregate contact or not.
|
static int |
TYPE_KEEP_SEPARATE
Makes sure that the specified raw contacts are NOT included in the same
aggregate contact.
|
static int |
TYPE_KEEP_TOGETHER
Makes sure that the specified raw contacts are included in the same
aggregate contact.
|
_COUNT, _ID
public static final Uri CONTENT_URI
public static final String CONTENT_TYPE
CONTENT_URI
providing a directory of data.public static final String CONTENT_ITEM_TYPE
CONTENT_URI
subdirectory of an aggregation exceptionpublic static final String TYPE
public static final int TYPE_AUTOMATIC
public static final int TYPE_KEEP_TOGETHER
public static final int TYPE_KEEP_SEPARATE
public static final String RAW_CONTACT_ID1
BaseColumns._ID
of the raw contact that the rule applies to.public static final String RAW_CONTACT_ID2
BaseColumns._ID
of the raw contact that the rule
applies to.