Android.Content.ContentResolver.SetSyncAutomatically Method
Set whether or not the provider is synced when it receives a network tickle.

Syntax

[Android.Runtime.Register("setSyncAutomatically", "(Landroid/accounts/Account;Ljava/lang/String;Z)V", "")]
public static void SetSyncAutomatically (Android.Accounts.Account account, string authority, bool sync)

Parameters

account
the account whose setting we are querying
authority
the provider whose behavior is being controlled
sync
true if the provider should be synced when tickles are received for it

Remarks

Set whether or not the provider is synced when it receives a network tickle.

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 5