Share via


BroadcastReceiver.PendingResult.SetResult(Result, String, Bundle) Method

Definition

Version of BroadcastReceiver#setResult(int, String, Bundle) BroadcastReceiver.setResult(int, String, Bundle) for asynchronous broadcast handling.

[Android.Runtime.Register("setResult", "(ILjava/lang/String;Landroid/os/Bundle;)V", "")]
public void SetResult (Android.App.Result code, string data, Android.OS.Bundle extras);
[<Android.Runtime.Register("setResult", "(ILjava/lang/String;Landroid/os/Bundle;)V", "")>]
member this.SetResult : Android.App.Result * string * Android.OS.Bundle -> unit

Parameters

code
Result
data
String
extras
Bundle
Attributes

Remarks

Version of BroadcastReceiver#setResult(int, String, Bundle) BroadcastReceiver.setResult(int, String, Bundle) for asynchronous broadcast handling.

Java documentation for android.content.BroadcastReceiver.PendingResult.setResult(int, java.lang.String, 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