Udostępnij za pośrednictwem


SyncRequest.Builder.SetSyncAdapter(Account, String) Method

Definition

[Android.Runtime.Register("setSyncAdapter", "(Landroid/accounts/Account;Ljava/lang/String;)Landroid/content/SyncRequest$Builder;", "GetSetSyncAdapter_Landroid_accounts_Account_Ljava_lang_String_Handler")]
public virtual Android.Content.SyncRequest.Builder? SetSyncAdapter (Android.Accounts.Account? account, string? authority);
[<Android.Runtime.Register("setSyncAdapter", "(Landroid/accounts/Account;Ljava/lang/String;)Landroid/content/SyncRequest$Builder;", "GetSetSyncAdapter_Landroid_accounts_Account_Ljava_lang_String_Handler")>]
abstract member SetSyncAdapter : Android.Accounts.Account * string -> Android.Content.SyncRequest.Builder
override this.SetSyncAdapter : Android.Accounts.Account * string -> Android.Content.SyncRequest.Builder

Parameters

account
Account
authority
String

Returns

Attributes

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