CalendarContract.CallerIsSyncadapter Field

Definition

An optional insert, update or delete URI parameter 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 insert, update or delete URI parameter that allows the caller to specify that it is a sync adapter. The default value is false. If set to true, the modified row is not marked as "dirty" (needs to be synced) and when the provider calls ContentResolver#notifyChange(android.net.Uri, android.database.ContentObserver, boolean) , the third parameter "syncToNetwork" is set to false. Furthermore, if set to true, the caller must also include Calendars#ACCOUNT_NAME and Calendars#ACCOUNT_TYPE as query parameters.

Java documentation for android.provider.CalendarContract.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