AbstractThreadedSyncAdapter.OnPerformSync(Account, Bundle, String, ContentProviderClient, SyncResult) AbstractThreadedSyncAdapter.OnPerformSync(Account, Bundle, String, ContentProviderClient, SyncResult) Method

Definition

Perform a sync for this account.

[Android.Runtime.Register("onPerformSync", "(Landroid/accounts/Account;Landroid/os/Bundle;Ljava/lang/String;Landroid/content/ContentProviderClient;Landroid/content/SyncResult;)V", "GetOnPerformSync_Landroid_accounts_Account_Landroid_os_Bundle_Ljava_lang_String_Landroid_content_ContentProviderClient_Landroid_content_SyncResult_Handler")]
public abstract void OnPerformSync (Android.Accounts.Account account, Android.OS.Bundle extras, string authority, Android.Content.ContentProviderClient provider, Android.Content.SyncResult syncResult);
abstract member OnPerformSync : Android.Accounts.Account * Android.OS.Bundle * string * Android.Content.ContentProviderClient * Android.Content.SyncResult -> unit

Parameters

account
Account Account

the account that should be synced

extras
Bundle Bundle

SyncAdapter-specific parameters

authority
String String

the authority of this sync request

provider
ContentProviderClient ContentProviderClient

a ContentProviderClient that points to the ContentProvider for this authority

syncResult
SyncResult SyncResult

SyncAdapter-specific parameters

Remarks

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.

Applies to