ActionRequest.Builder


public static final class ActionRequest.Builder
extends Object

java.lang.Object
   ↳ android.companion.ActionRequest.Builder


A builder for creating ActionRequest.

Summary

Public constructors

Builder(int action, int operation)

Public methods

ActionRequest build()

Builds the ActionRequest object.

Inherited methods

Public constructors

Builder

public Builder (int action, 
                int operation)

Parameters
action int: The action to request.
Value is one of the following:
operation int: The operation to perform.
Value is one of the following:

Public methods

build

public ActionRequest build ()

Builds the ActionRequest object.

Returns
ActionRequest This value cannot be null.