Android.Content.ContentResolver.RemovePeriodicSync Method
Remove a periodic sync.

Syntax

[Android.Runtime.Register("removePeriodicSync", "(Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;)V", "")]
public static void RemovePeriodicSync (Android.Accounts.Account account, string authority, Android.OS.Bundle extras)

Parameters

account
the account of the periodic sync to remove
authority
the provider of the periodic sync to remove
extras
the extras of the periodic sync to remove

Remarks

Remove a periodic sync. Has no affect if account, authority and extras don't match an existing periodic sync.

This method requires the caller to hold the permission NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#WRITE_SYNC_SETTINGS.

[Android Documentation]

Requirements

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