Android.Content.ContentResolver.CancelSync Method
Cancel any active or pending syncs that match account and authority.

Syntax

[Android.Runtime.Register("cancelSync", "(Landroid/accounts/Account;Ljava/lang/String;)V", "")]
public static void CancelSync (Android.Accounts.Account account, string authority)

Parameters

account
filters the syncs that match by this account
authority
filters the syncs that match by this authority

Remarks

Cancel any active or pending syncs that match account and authority. The account and authority can each independently be set to null, which means that syncs with any account or authority, respectively, will match.

[Android Documentation]

Requirements

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