Språk

RequestOperation Enum

Definition

Identifies whether the system requests to activate or deactivate an action.

public enum RequestOperation
type RequestOperation = 
Inheritance
RequestOperation

Fields

Name Value Description
Activate 0

An operation to request that the action be activated.

Android reference for android.companion.ActionRequest.OP_ACTIVATE.

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.

Deactivate 1

An operation to request that the action be deactivated.

Android reference for android.companion.ActionRequest.OP_DEACTIVATE.

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.

Remarks

The values correspond to the OP_* constants in Android's ActionRequest. See the operation definitions.

Applies to