Partager via


AsyncQueryHandler.StartInsert(Int32, Object, Uri, ContentValues) Method

Definition

This method begins an asynchronous insert.

[Android.Runtime.Register("startInsert", "(ILjava/lang/Object;Landroid/net/Uri;Landroid/content/ContentValues;)V", "")]
public void StartInsert (int token, Java.Lang.Object? cookie, Android.Net.Uri? uri, Android.Content.ContentValues? initialValues);
[<Android.Runtime.Register("startInsert", "(ILjava/lang/Object;Landroid/net/Uri;Landroid/content/ContentValues;)V", "")>]
member this.StartInsert : int * Java.Lang.Object * Android.Net.Uri * Android.Content.ContentValues -> unit

Parameters

token
Int32

A token passed into #onInsertComplete to identify the insert operation.

cookie
Object

An object that gets passed into #onInsertComplete

uri
Uri

the Uri passed to the insert operation.

initialValues
ContentValues

the ContentValues parameter passed to the insert operation.

Attributes

Remarks

This method begins an asynchronous insert. When the insert operation is done #onInsertComplete is called.

Java documentation for android.content.AsyncQueryHandler.startInsert(int, java.lang.Object, android.net.Uri, android.content.ContentValues).

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