Udostępnij za pośrednictwem


ResultReceiver.Send(Result, Bundle) Method

Definition

Deliver a result to this receiver.

[Android.Runtime.Register("send", "(ILandroid/os/Bundle;)V", "GetSend_ILandroid_os_Bundle_Handler")]
public virtual void Send (Android.App.Result resultCode, Android.OS.Bundle? resultData);
[<Android.Runtime.Register("send", "(ILandroid/os/Bundle;)V", "GetSend_ILandroid_os_Bundle_Handler")>]
abstract member Send : Android.App.Result * Android.OS.Bundle -> unit
override this.Send : Android.App.Result * Android.OS.Bundle -> unit

Parameters

resultCode
Result

Arbitrary result code to deliver, as defined by you.

resultData
Bundle

Any additional data provided by you.

Attributes

Remarks

Deliver a result to this receiver. Will call #onReceiveResult, always asynchronously if the receiver has supplied a Handler in which to dispatch the result.

Java documentation for android.os.ResultReceiver.send(int, 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