Added in API level 5

AggregationExceptions


class AggregationExceptions : BaseColumns
kotlin.Any
   ↳ 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
static String

The MIME type of a CONTENT_URI subdirectory of an aggregation exception

static String

The MIME type of CONTENT_URI providing a directory of data.

static String

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

static String

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

static String

The type of exception: TYPE_KEEP_TOGETHER, TYPE_KEEP_SEPARATE or TYPE_AUTOMATIC.

static Int

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

static Int

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

static Int

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

Inherited constants
Properties
static Uri!

The content:// style URI for this table

Constants

CONTENT_ITEM_TYPE

Added in API level 5
static val CONTENT_ITEM_TYPE: String

The MIME type of a CONTENT_URI subdirectory of an aggregation exception

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

CONTENT_TYPE

Added in API level 5
static val CONTENT_TYPE: String

The MIME type of CONTENT_URI providing a directory of data.

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

RAW_CONTACT_ID1

Added in API level 5
static val RAW_CONTACT_ID1: String

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

Value: "raw_contact_id1"

RAW_CONTACT_ID2

Added in API level 5
static val RAW_CONTACT_ID2: String

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

Value: "raw_contact_id2"

TYPE

Added in API level 5
static val TYPE: String

The type of exception: TYPE_KEEP_TOGETHER, TYPE_KEEP_SEPARATE or TYPE_AUTOMATIC.

Type: INTEGER

Value: "type"

TYPE_AUTOMATIC

Added in API level 5
static val TYPE_AUTOMATIC: Int

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

Value: 0

TYPE_KEEP_SEPARATE

Added in API level 5
static val TYPE_KEEP_SEPARATE: Int

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

Value: 2

TYPE_KEEP_TOGETHER

Added in API level 5
static val TYPE_KEEP_TOGETHER: Int

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

Value: 1

Properties

CONTENT_URI

Added in API level 5
static val CONTENT_URI: Uri!

The content:// style URI for this table