ASErrorCode 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.
Specifies errors reported by AccessorySetupKit.
[ObjCRuntime.Native]
public enum ASErrorCode
[<ObjCRuntime.Native>]
type ASErrorCode =
- Inheritance
-
ASErrorCode
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| Success | 0 | The operation completed successfully. |
| Unknown | 1 | An underlying failure occurred for an unknown reason. |
| ActivationFailed | 100 | The session could not be activated. |
| ConnectionFailed | 150 | The session could not establish a connection with the accessory. |
| DiscoveryTimeout | 200 | Accessory discovery timed out. |
| ExtensionNotFound | 300 | The app extension could not be found. |
| Invalidated | 400 | The session was invalidated before the operation completed. |
| InvalidRequest | 450 | The session received an invalid request. |
| PickerAlreadyActive | 500 | The picker received a request to show while it was already active. |
| PickerRestricted | 550 | The picker cannot be used because the app is in the background. |
| UserCancelled | 700 | The user canceled the operation. |
| UserRestricted | 750 | The user restricted access. |