ContactsContract.ProfileSyncState.NewSetOperation(Account, Byte[]) 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.
Builds an insert operation for an account's sync-state data.
[Android.Runtime.Register("newSetOperation", "(Landroid/accounts/Account;[B)Landroid/content/ContentProviderOperation;", "")]
public static Android.Content.ContentProviderOperation? NewSetOperation(Android.Accounts.Account? account, byte[]? data);
[<Android.Runtime.Register("newSetOperation", "(Landroid/accounts/Account;[B)Landroid/content/ContentProviderOperation;", "")>]
static member NewSetOperation : Android.Accounts.Account * byte[] -> Android.Content.ContentProviderOperation
Parameters
- 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.
Returns
An insert operation containing the account name, account type, and supplied sync-state blob.
- 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
See also
- <xref:Android.Provider.SyncStateContract.Helpers.NewSetOperation(Android.Net.Uri%2c+Android.Accounts.Account%2c+Android.Accounts.Account)>