public
static
final
class
ContactsContract.AggregationExceptions
extends Object
implements
BaseColumns
java.lang.Object | |
↳ | android.provider.ContactsContract.AggregationExceptions |
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 _ID of the raw contact that
the rule applies to. |
long | RAW_CONTACT_ID2 |
read/write | A reference to the other _ID of the raw contact
that the rule applies to. |
Constants | |
---|---|
String |
CONTENT_ITEM_TYPE
The MIME type of a |
String |
CONTENT_TYPE
The MIME type of |
String |
RAW_CONTACT_ID1
A reference to the |
String |
RAW_CONTACT_ID2
A reference to the other |
String |
TYPE
The type of exception: |
int |
TYPE_AUTOMATIC
Allows the provider to automatically decide whether the specified raw contacts should be included in the same aggregate contact or not. |
int |
TYPE_KEEP_SEPARATE
Makes sure that the specified raw contacts are NOT included in the same aggregate contact. |
int |
TYPE_KEEP_TOGETHER
Makes sure that the specified raw contacts are included in the same aggregate contact. |
Inherited constants |
---|
From
interface
android.provider.BaseColumns
|
Fields | |
---|---|
public
static
final
Uri |
CONTENT_URI
The content:// style URI for this table |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
String CONTENT_ITEM_TYPE
The MIME type of a CONTENT_URI
subdirectory of an aggregation exception
Constant Value: "vnd.android.cursor.item/aggregation_exception"
String CONTENT_TYPE
The MIME type of CONTENT_URI
providing a directory of data.
Constant Value: "vnd.android.cursor.dir/aggregation_exception"
String RAW_CONTACT_ID1
A reference to the _ID
of the raw contact that the rule applies to.
Constant Value: "raw_contact_id1"
String RAW_CONTACT_ID2
A reference to the other _ID
of the raw contact that the rule
applies to.
Constant Value: "raw_contact_id2"
String TYPE
The type of exception: TYPE_KEEP_TOGETHER
, TYPE_KEEP_SEPARATE
or
TYPE_AUTOMATIC
.
Type: INTEGER
Constant Value: "type"
int TYPE_AUTOMATIC
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)
int TYPE_KEEP_SEPARATE
Makes sure that the specified raw contacts are NOT included in the same aggregate contact.
Constant Value: 2 (0x00000002)
int TYPE_KEEP_TOGETHER
Makes sure that the specified raw contacts are included in the same aggregate contact.
Constant Value: 1 (0x00000001)