ContactsContract.ProfileSyncState.Set Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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)>