ActionResult.Builder(Int32, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. ActionRequest#REQUEST_NEARBY_SCANNING.
- 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.