Compartir a través de


AsyncQueryHandler.StartDelete(Int32, Object, Uri, String, String[]) Method

Definition

This method begins an asynchronous delete.

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

Parameters

token
Int32

A token passed into #onDeleteComplete to identify the delete operation.

cookie
Object

An object that gets passed into #onDeleteComplete

uri
Uri

the Uri passed to the delete operation.

selection
String

the where clause.

selectionArgs
String[]
Attributes

Remarks

This method begins an asynchronous delete. When the delete operation is done #onDeleteComplete is called.

Java documentation for android.content.AsyncQueryHandler.startDelete(int, java.lang.Object, android.net.Uri, 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