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

Syntax

[Android.Runtime.Register("startSync", "(Landroid/net/Uri;Landroid/os/Bundle;)V", "GetStartSync_Landroid_net_Uri_Landroid_os_Bundle_Handler")]
[System.Obsolete("deprecated")]
public virtual void StartSync (Android.Net.Uri uri, Android.OS.Bundle extras)

Parameters

uri
the uri of the provider to sync or null to sync all providers.
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 1