getAverageYAsMeasurement

Gets estimated average value of accelerometer y-axis measurements. 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).

Return

true if result is available, false otherwise.

Parameters

result

instance where result will be stored.