Android.Provider.AggregationMode Enumeration
Enumerates values returned by several methods of Android.Provider.AggregationMode.

Syntax

public enum AggregationMode

Remarks

Enumerates value returned by the following: .

Members

Member NameDescription
DefaultAggregation mode: aggregate immediately after insert or update operation(s) are complete.
Disabled

Aggregation mode: never aggregate this raw contact. The raw contact will not have a corresponding Android.Provider.Contacts aggregate and therefore will not be included in Android.Provider.Contacts query results.

For example, this mode can be used for a raw contact that is marked for deletion while waiting for the deletion to occur on the server side.

ImmediateAggregation mode: aggregate at the time the raw contact is inserted/updated.
Suspended

Aggregation mode: aggregation suspended temporarily, and is likely to be resumed later. Changes to the raw contact will update the associated aggregate contact but will not result in any change in how the contact is aggregated. Similar to AggregationMode.Disabled, but maintains a link to the corresponding Android.Provider.Contacts aggregate.

This can be used to postpone aggregation until after a series of updates, for better performance and/or user experience.

Note that changing Android.Provider.ContactsContract.RawContactsColumns.AggregationMode from AggregationMode.Suspended to AggregationMode.Default does not trigger an aggregation pass, but any subsequent change to the raw contact's data will.

Requirements

Namespace: Android.Provider
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0