Android.Content.ContentResolver.CancelSync Method
Cancel any active or pending syncs that match the Uri.

Syntax

[Android.Runtime.Register("cancelSync", "(Landroid/net/Uri;)V", "GetCancelSync_Landroid_net_Uri_Handler")]
[System.Obsolete("deprecated")]
public virtual void CancelSync (Android.Net.Uri uri)

Parameters

uri
the uri of the provider to sync or null to sync all providers.

Remarks

Cancel any active or pending syncs that match the Uri. If the uri is null then all syncs will be canceled.

[Android Documentation]

Requirements

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