Android Guides | Samples

Android.Content.AbstractThreadedSyncAdapter.OnSyncCanceled Method

Indicates that a sync operation has been canceled.

Syntax

[Android.Runtime.Register("onSyncCanceled", "()V", "GetOnSyncCanceledHandler")]
public virtual Void OnSyncCanceled ()

Remarks

Indicates that a sync operation has been canceled. This will be invoked on a separate thread than the sync thread and so you must consider the multi-threaded implications of the work that you do in this method.

This will only be invoked when the SyncAdapter indicates that it doesn't support parallel syncs.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11