CSAccelerationSensor Class Reference

Inherits from CSSensor : NSObject
Declared in CSAccelerationSensor.h

Overview

Sensor that stores acceleration data using a gyroscope. Can only be used if a gyroscope is available in the device (iphone 4s and later?).

See also CMDeviceMotion.h for more information about the userAcceleration field which is the data is stored here.

JSON output value format

 {
        "x-axis": FLOAT;
        "y-axis": FLOAT;
        "z-axis": FLOAT;
 }