x property

double x
final

Acceleration force along the x axis (including gravity) measured in m/s^2.

When the device is held upright facing the user, positive values mean the device is moving to the right and negative mean it is moving to the left.

Implementation

final double x;