ContentResolver.RemovePeriodicSync(Account, String, Bundle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Remove a periodic sync.
[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);
[<Android.Runtime.Register("removePeriodicSync", "(Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;)V", "")>]
static member RemovePeriodicSync : Android.Accounts.Account * string * Android.OS.Bundle -> unit
Parameters
- account
- Account
the account of the periodic sync to remove
- authority
- String
the provider of the periodic sync to remove
- extras
- Bundle
the extras of the periodic sync to remove
- Attributes
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 android.Manifest.permission#WRITE_SYNC_SETTINGS
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.