Builder
class Builder
| kotlin.Any | |
| ↳ | android.companion.ActionResult.Builder |
Builder for creating an ActionResult.
Summary
| Public constructors | |
|---|---|
| Public methods | |
|---|---|
| ActionResult |
build()Builds the |
Public constructors
Builder
Builder(
action: Int,
resultCode: Int)
| Parameters | |
|---|---|
action |
Int: The action this result is for, e.g. ActionRequest.REQUEST_NEARBY_SCANNING. Value is one of the following: |
resultCode |
Int: The result code for this result. Value is one of the following: |
Public methods
build
fun build(): ActionResult
Builds the ActionResult object.
| Return | |
|---|---|
ActionResult |
This value cannot be null. |