Language

ResultCode Enum

Definition

public enum ResultCode
type ResultCode = 
Inheritance
ResultCode

Fields

Name Value Description
Activated 0

A result code indicating that the requested activation was completed successfully. This is sent in response to an ActionRequest.OP_ACTIVATE request.

Android reference for android.companion.ActionResult.RESULT_ACTIVATED.

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.

FailedToActivate 1

A result code indicating that the requested activation failed. This is sent in response to an ActionRequest.OP_ACTIVATE request.

Android reference for android.companion.ActionResult.RESULT_FAILED_TO_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.

Deactivated 2

A result code indicating that a previously active action is now inactive. This can be sent for two reasons: 1. As a successful response to an ActionRequest.OP_DEACTIVATE request. 2. Action was failed after initially succeed.

Android reference for android.companion.ActionResult.RESULT_DEACTIVATED.

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.

Applies to