共用方式為


ICursor.Respond(Bundle) Method

Definition

This is an out-of-band way for the the user of a cursor to communicate with the cursor.

[Android.Runtime.Register("respond", "(Landroid/os/Bundle;)Landroid/os/Bundle;", "GetRespond_Landroid_os_Bundle_Handler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.OS.Bundle? Respond (Android.OS.Bundle? extras);
[<Android.Runtime.Register("respond", "(Landroid/os/Bundle;)Landroid/os/Bundle;", "GetRespond_Landroid_os_Bundle_Handler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Respond : Android.OS.Bundle -> Android.OS.Bundle

Parameters

extras
Bundle

extra values, or android.os.Bundle#EMPTY Bundle.EMPTY. Never null.

Returns

extra values, or android.os.Bundle#EMPTY Bundle.EMPTY. Never null.

Attributes

Remarks

This is an out-of-band way for the the user of a cursor to communicate with the cursor. The structure of each bundle is entirely defined by the cursor.

One use of this is to tell a cursor that it should retry its network request after it reported an error.

Java documentation for android.database.Cursor.respond(android.os.Bundle).

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