AppFunctionError 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.
public enum AppFunctionError
type AppFunctionError =
- Inheritance
-
AppFunctionError
Fields
| Name | Value | Description |
|---|---|---|
| Denied | 1000 | The caller does not have the permission to execute an app function. This error is returned to the caller of AppFunctionManager.executeAppFunction if the caller does not have the necessary permission. This error is in the ERROR_CATEGORY_REQUEST_ERROR category. 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. |
| InvalidArgument | 1001 | The caller supplied invalid arguments to the execution request. This error may be considered similar to IllegalArgumentException. This error is in the ERROR_CATEGORY_REQUEST_ERROR category. 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. |
| Disabled | 1002 | The caller tried to execute a disabled app function. This error is returned to the caller of AppFunctionManager.executeAppFunction if the app function is considered disabled according to AppFunctionState.isEnabled. This error is in the ERROR_CATEGORY_REQUEST_ERROR category. 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. |
| FunctionNotFound | 1003 | The caller tried to execute a function that does not exist. This error is returned to the caller of AppFunctionManager.executeAppFunction if one of the following is true: The function identifier specified in ExecuteAppFunctionRequest.getFunctionIdentifier does not match any function identifiers in the metadata returned by AppFunctionManager.searchAppFunctions; The app function is AppFunctionMetadata.SCOPE_ACTIVITY and ExecuteAppFunctionRequest.getActivityId is not provided or does not match any activity identifiers returned by AppFunctionState.getActivityIds, this error will be returned; The app function is AppFunctionMetadata.SCOPE_GLOBAL and ExecuteAppFunctionRequest.getActivityId is non-null. This error is in the ERROR_CATEGORY_REQUEST_ERROR category. 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. |
| SystemError | 2000 | |
| Cancelled | 2001 | The operation was cancelled. Use this error code to report that a cancellation is done after receiving a cancellation signal. This error is in the ERROR_CATEGORY_SYSTEM category. 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. |
| EnterprisePolicyDisallowed | 2002 | The operation was disallowed by enterprise policy. This error is in the ERROR_CATEGORY_SYSTEM category. 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. |
| AppUnknownError | 3000 | An unknown error occurred while processing the call in the AppFunctionService. This error is thrown when the service is connected in the remote application but an unexpected error is thrown from the bound application. This error is in the ERROR_CATEGORY_APP category. 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. |