The Accelerometer API allows you to capture the device motion in the X, Y, and Z direction. The ColdFusion Accelerometer API dispatches certain events based on the activity detected by the device’s motion sensor (accelerometer). The data returned by the API represents the device’s location or movement along a 3-dimensional axis. When the device moves, the sensor detects this movement and returns acceleration data.