Language

ActionResult.Builder(Int32, Int32) Constructor

Definition

Creates a builder for a result with the specified action and result code.

[Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=37)]
public Builder(int action, int resultCode);
[<Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=37)>]
new Android.Companion.ActionResult.Builder : int * int -> Android.Companion.ActionResult.Builder

Parameters

action
Int32

The action this result is for, e.g. the integer value of NearbyScanning.

resultCode
Int32

The result code for this result.

Attributes

Remarks

The builder keeps both values, and Build() creates the result from them. See the builder implementation.

Applies to