Android Guides | Samples

Android.Content.AbstractThreadedSyncAdapter.OnSyncCanceled Method

Indicates that a sync operation has been canceled.

Syntax

[Android.Runtime.Register("onSyncCanceled", "(Ljava/lang/Thread;)V", "GetOnSyncCanceled_Ljava_lang_Thread_Handler")]
public virtual Void OnSyncCanceled (Thread thread)

Parameters

thread
the Thread of the sync that is to be canceled.

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 does 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