ContactsContract.AggregationExceptions


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.

Columns

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 RawContacts._ID of the raw contact that the rule applies to.
long RAW_CONTACT_ID2 read/write A reference to the other RawContacts._ID of the raw contact that the rule applies to.

Summary

Constants

String CONTENT_ITEM_TYPE

The MIME type of a CONTENT_URI subdirectory of an aggregation exception

String CONTENT_TYPE

The MIME type of CONTENT_URI providing a directory of data.

String RAW_CONTACT_ID1

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

String RAW_CONTACT_ID2

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

String TYPE

The type of exception: TYPE_KEEP_TOGETHER, TYPE_KEEP_SEPARATE or TYPE_AUTOMATIC.

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

String _COUNT

The count of rows in a directory.

String _ID

The unique ID for a row.

Fields

public static final Uri CONTENT_URI

The content:// style URI for this table

Inherited methods

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Constants

CONTENT_ITEM_TYPE

Added in API level 5
public static final String CONTENT_ITEM_TYPE

The MIME type of a CONTENT_URI subdirectory of an aggregation exception

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

CONTENT_TYPE

Added in API level 5
public static final String CONTENT_TYPE

The MIME type of CONTENT_URI providing a directory of data.

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

RAW_CONTACT_ID1

Added in API level 5
public static final String RAW_CONTACT_ID1

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

Constant Value: "raw_contact_id1"

RAW_CONTACT_ID2

Added in API level 5
public static final String RAW_CONTACT_ID2

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

Constant Value: "raw_contact_id2"

TYPE

Added in API level 5
public static final String TYPE

The type of exception: TYPE_KEEP_TOGETHER, TYPE_KEEP_SEPARATE or TYPE_AUTOMATIC.

Type: INTEGER

Constant Value: "type"

TYPE_AUTOMATIC

Added in API level 5
public static final 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)

TYPE_KEEP_SEPARATE

Added in API level 5
public static final int TYPE_KEEP_SEPARATE

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

Constant Value: 2 (0x00000002)

TYPE_KEEP_TOGETHER

Added in API level 5
public static final int TYPE_KEEP_TOGETHER

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

Constant Value: 1 (0x00000001)

Fields

CONTENT_URI

Added in API level 5
public static final Uri CONTENT_URI

The content:// style URI for this table