Defines a data type for a ColorSync Manager result code.
SDKs
- iOS 4.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- watchOS 2.0+
Framework
- Core Motion
Declaration
struct CMError
Overview
For a list of possible result codes, see Result Codes.
Defines a data type for a ColorSync Manager result code.
SDKs
Framework
struct CMError
For a list of possible result codes, see Result Codes.
var CMError Device Requires Movement: CMError
The device must move for a sampling of motion data to occur.
var CMError Invalid Parameter: CMError
An invalid parameter was specified.
var CMError Motion Activity Not Authorized: CMError
The app is not currently authorized to use motion activity support.
var CMError Motion Activity Not Available: CMError
Motion activity support is not available on the current device.
var CMError Motion Activity Not Entitled: CMError
The app is missing a required entitlement.
var CMError NULL: CMError
No error.
var CMError True North Not Available: CMError
True north is not available on this device. This usually indicates that the device’s location is not yet available.
var CMError Unknown: CMError
An unknown error occurred.
let CMError Domain: String
The error domain for Core Motion.