y property

double y
final

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

When the device is held upright facing the user, positive values mean the device is moving towards the sky and negative mean it is moving towards the ground.

Implementation

final double y;