Språk

ContactsContract.ProfileSyncState.Set Method

Definition

Submits an account's sync-state data for storage.

[Android.Runtime.Register("set", "(Landroid/content/ContentProviderClient;Landroid/accounts/Account;[B)V", "")]
public static void Set(Android.Content.ContentProviderClient? provider, Android.Accounts.Account? account, byte[]? data);
[<Android.Runtime.Register("set", "(Landroid/content/ContentProviderClient;Landroid/accounts/Account;[B)V", "")>]
static member Set : Android.Content.ContentProviderClient * Android.Accounts.Account * byte[] -> unit

Parameters

provider
ContentProviderClient

The client to which the sync-state write request is sent.

account
Account

The account name and type to store with the sync-state data.

data
Byte[]

The binary sync-state payload placed in the provider's data column.

Attributes

Exceptions

Remarks

Java documentation for android.provider.ContactsContract.ProfileSyncState.set(android.content.ContentProviderClient, android.accounts.Account, byte[]).

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

See also

  • <xref:Android.Provider.SyncStateContract.Helpers.Set(Android.Content.ContentProviderClient%2c+Android.Net.Uri%2c+Android.Net.Uri%2c+Android.Net.Uri)>