Partager via


BroadcastReceiver.PendingResult.ResultCode Property

Definition

Version of BroadcastReceiver#getResultCode() BroadcastReceiver.getResultCode() for asynchronous broadcast handling. -or- Version of BroadcastReceiver#setResultCode(int) BroadcastReceiver.setResultCode(int) for asynchronous broadcast handling.

public Android.App.Result ResultCode { [Android.Runtime.Register("getResultCode", "()I", "")] get; [Android.Runtime.Register("setResultCode", "(I)V", "")] set; }
[<get: Android.Runtime.Register("getResultCode", "()I", "")>]
[<set: Android.Runtime.Register("setResultCode", "(I)V", "")>]
member this.ResultCode : Android.App.Result with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Version of BroadcastReceiver#getResultCode() BroadcastReceiver.getResultCode() for asynchronous broadcast handling.

Java documentation for android.content.BroadcastReceiver.PendingResult.getResultCode().

Property setter documentation:

Version of BroadcastReceiver#setResultCode(int) BroadcastReceiver.setResultCode(int) for asynchronous broadcast handling.

Java documentation for android.content.BroadcastReceiver.PendingResult.setResultCode(int).

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