SyncStateContract.Helpers.NewUpdateOperation(Uri, 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.
Creates and returns a ContentProviderOperation that assigns the data array as the sync state for the given account.
[Android.Runtime.Register("newUpdateOperation", "(Landroid/net/Uri;[B)Landroid/content/ContentProviderOperation;", "")]
public static Android.Content.ContentProviderOperation? NewUpdateOperation (Android.Net.Uri? uri, byte[]? data);
[<Android.Runtime.Register("newUpdateOperation", "(Landroid/net/Uri;[B)Landroid/content/ContentProviderOperation;", "")>]
static member NewUpdateOperation : Android.Net.Uri * byte[] -> Android.Content.ContentProviderOperation
Parameters
- uri
- Uri
the uri of the specific sync state to set
- data
- Byte[]
the byte[] that contains the sync state
Returns
the new ContentProviderOperation that assigns the data array as the account's sync state
- Attributes
Remarks
Creates and returns a ContentProviderOperation that assigns the data array as the sync state for the given account.
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.