AsyncQueryHandler.StartInsert(Int32, Object, Uri, ContentValues) 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.
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.
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.