CoreMotion Namespace

Receive hardware motions events.

Remarks

The CoreMotion API allows developers to get hardware events from the built-in accelerometer and gyroscopes.

Classes

TypeReason
CMAccelerationA 3D vector containing acceleration values.
CMAccelerometerDataAn accelerometer event, encapsulates an instance of CoreMotion.CMAcceleration
CMAccelerometerHandlerA delegate signature used to receive events from CoreMotion.CMMotionManager
CMAltimeterInterface to the relative-altitude pressure sensor.
CMAltitudeDataHolds relative-altitude data, generated by the CoreMotion.CMAltitude class.
CMAttitudeUsed to pull spacial information from the device in either quaternion, rotation matrix or with 3D angles (roll, pitch and yaw).
CMAttitudeReferenceFrameAn enumeration whose values specify the reference frame from which CoreMotion.CMAttitude readings are referenced.
CMCalibratedMagneticFieldEncapsulates the accuracy and field strength of the magnetometer after calibration.
CMDeviceMotionEncapsulates Attitude, Rotation Rate and Acceleration of the device.
CMDeviceMotionHandlerA delegate signature used to receive events from CoreMotion.CMMotionManager
CMErrorType for CoreMotion errors.
CMGyroDataA single measurement of the device rotation rate.
CMGyroHandlerA delegate signature used to receive events from CoreMotion.CMMotionManager
CMLogItemBase class for CMAccelerometerData, CMDeviceMotion and CMGyroData, it is used to attach a timestamp to these events.
CMMagneticFieldRepresents the 3-axis magnetometer data in microteslas.
CMMagneticFieldCalibrationAccuracyAn enumeration whose values specify the quality of the magnetometer calibration.
CMMagnetometerDataA reading from the device magnetometer.
CMMagnetometerHandlerA delegate that is the handler for the CoreMotion.CMMotionManager.StartMagnetometerUpdates method.
CMMotionActivityA motion update event, including characterization of the likely form (walking, running, automotive).
CMMotionActivityConfidenceAn enumeration whose values specify the confidence in a CoreMotion.CMMotionActivity.
CMMotionActivityHandlerThe delegate that acts as the handler for CoreMotion.CMMotionActivityManager.QueryActivity.
CMMotionActivityManagerOn supported devices, accesses stored motion data and allows monitoring of motion updates.
CMMotionActivityQueryHandlerThe delegate that is the handler for CoreMotion.CMMotionActivityManager.StartActivityUpdates.
CMMotionManagerCore class that provides access to the motion services in iOS.
CMPedometerGenerates step-counting data, including number of steps and floors climbed/descended.
CMPedometerDataHolds data relating to walking and floor-climbing. Generated by CoreMotion.CMPedometer.
CMQuaternionRepresents a Quaternion, used as one of the possible CMAttitude representations.
CMRotationMatrixRepresents a 3x3 rotation matrix.
CMRotationRate3D rotation rate.
CMStepCounterOn supported devices, stores the number of steps the user has taken with the device and allows step-counting to be dynamically tracked.
CMStepQueryHandlerThe delegate for use with CoreMotion.CMStepCounter.QueryStepCount.
CMStepUpdateHandlerThe delegate used with CoreMotion.CMStepCounter.StartStepCountingUpdates.