CMError Enum

Definition

Type for CoreMotion errors.

public enum CMError
type CMError = 
Inheritance
CMError

Fields

DeviceRequiresMovement 101

The device must move to generate motion data.

InvalidAction 108

An invalid action was specified.

InvalidParameter 107

An invalid parameter was specified.

MotionActivityNotAuthorized 105

The user has not authorized the app to access motion data.

MotionActivityNotAvailable 104

Motion data is not available on this device.

MotionActivityNotEntitled 106

The app does not have a properly-configured entitlements file.

NotAuthorized 111

The app is not currently authorized to access motion data.

NotAvailable 109

The requested data are not available.

NotEntitled 110

The app does not have the proper entitlements file.

Null 100

No error.

TrueNorthNotAvailable 102

The device does not know the direction to true north.

Unknown 103

An error of unknown type.

Applies to