process

open override fun process(measurement: AccelerometerSensorMeasurement, timestamp: Long): Boolean

Processes an accelerometer sensor measurement collected by a collector or a syncer.

Return

true if a new gravity is estimated, false otherwise.

Parameters

measurement

measurement expressed in ENU android coordinates system to be processed.

timestamp

optional timestamp that can be provided to override timestamp associated to accelerometer measurement. If not set, the timestamp from measurement is used.

See also