averageY

Gets estimated average value of accelerometer y-axis measurements expressed in sensor default unit (m/s^2 for acceleration, rad/s for angular speed or T for magnetic flux density). This is only available when estimation completes successfully and resultAvailable is true. If device remained completely static during estimation, this should be equal to the x-axis component of gravity acceleration (for accelerometer sensor), x-axis component of Earth rotation rate (for gyroscope sensor), or x-axis component of magnetic field intensity (for magnetometer).