Android.Content.ContentResolver.RequestSync Method
Start an asynchronous sync operation.

Syntax

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

Parameters

account
which account should be synced
authority
which authority should be synced
extras
any extras to pass to the SyncAdapter.

Remarks

Start an asynchronous sync operation. If you want to monitor the progress of the sync you may register a SyncObserver. Only values of the following types may be used in the extras bundle:

  • Integer
  • Long
  • Boolean
  • Float
  • Double
  • String
  • Account
  • null

[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