Edytuj

Udostępnij za pośrednictwem


CMError Enum

Definition

Type for CoreMotion errors.

public enum CMError
type CMError = 
Inheritance
CMError

Fields

Name Value Description
Null 100

No error.

DeviceRequiresMovement 101

The device must move to generate motion data.

TrueNorthNotAvailable 102

The device does not know the direction to true north.

Unknown 103

An error of unknown type.

MotionActivityNotAvailable 104

Motion data is not available on this device.

MotionActivityNotAuthorized 105

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

MotionActivityNotEntitled 106

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

InvalidParameter 107

An invalid parameter was specified.

InvalidAction 108

An invalid action was specified.

NotAvailable 109

The requested data are not available.

NotEntitled 110

The app does not have the proper entitlements file.

NotAuthorized 111

The app is not currently authorized to access motion data.

Applies to