ResultCode Enum
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.
Identifies the result that a companion app reports for a requested action.
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 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 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 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 RESULT_* constants in Android's ActionResult. Report the deactivated result after a successful deactivation, or when an active action stops. See the result definitions.