Share via


AsyncQueryHandler.StartUpdate Method

Definition

This method begins an asynchronous update.

[Android.Runtime.Register("startUpdate", "(ILjava/lang/Object;Landroid/net/Uri;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)V", "")]
public void StartUpdate (int token, Java.Lang.Object? cookie, Android.Net.Uri? uri, Android.Content.ContentValues? values, string? selection, string[]? selectionArgs);
[<Android.Runtime.Register("startUpdate", "(ILjava/lang/Object;Landroid/net/Uri;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)V", "")>]
member this.StartUpdate : int * Java.Lang.Object * Android.Net.Uri * Android.Content.ContentValues * string * string[] -> unit

Parameters

token
Int32

A token passed into #onUpdateComplete to identify the update operation.

cookie
Object

An object that gets passed into #onUpdateComplete

uri
Uri

the Uri passed to the update operation.

values
ContentValues

the ContentValues parameter passed to the update operation.

selection
String
selectionArgs
String[]
Attributes

Remarks

This method begins an asynchronous update. When the update operation is done #onUpdateComplete is called.

Java documentation for android.content.AsyncQueryHandler.startUpdate(int, java.lang.Object, android.net.Uri, android.content.ContentValues, java.lang.String, java.lang.String[]).

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