Bagikan melalui


ContactsContract.CallerIsSyncadapter Field

Definition

An optional URI parameter for insert, update, or delete queries that allows the caller to specify that it is a sync adapter.

[Android.Runtime.Register("CALLER_IS_SYNCADAPTER")]
public const string CallerIsSyncadapter;
[<Android.Runtime.Register("CALLER_IS_SYNCADAPTER")>]
val mutable CallerIsSyncadapter : string

Field Value

Attributes

Remarks

An optional URI parameter for insert, update, or delete queries that allows the caller to specify that it is a sync adapter. The default value is false. If true RawContacts#DIRTY is not automatically set and the "syncToNetwork" parameter is set to false when calling ContentResolver#notifyChange(android.net.Uri, android.database.ContentObserver, boolean). This prevents an unnecessary extra synchronization, see the discussion of the delete operation in RawContacts.

Java documentation for android.provider.ContactsContract.CALLER_IS_SYNCADAPTER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to