GravityAndMagnetometerSyncedSensorMeasurement

class GravityAndMagnetometerSyncedSensorMeasurement(var gravityMeasurement: GravitySensorMeasurement? = null, var magnetometerMeasurement: MagnetometerSensorMeasurement? = null, var timestamp: Long = 0) : SyncedSensorMeasurement

Contains synced gravity and magnetometer measurements, which are assumed to belong to the same timestamp.

Constructors

constructor(gravityMeasurement: GravitySensorMeasurement? = null, magnetometerMeasurement: MagnetometerSensorMeasurement? = null, timestamp: Long = 0)

Properties

Link copied to clipboard

a gravity measurement. Notice that this instance might be reused between consecutive GravityAndMagnetometerSyncedSensorMeasurement measurements, and that its timestamp might differ from the global timestamp property of this SyncedSensorMeasurement.

Link copied to clipboard

a magnetometer measurement. Notice that this instance might be reused between consecutive GravityAndMagnetometerSyncedSensorMeasurement measurements, and that its timestamp might differ from the global timestamp property of this SyncedSensorMeasurement.

Link copied to clipboard

timestamp expressed in nanoseconds following android.os.SystemClock.elapsedRealtimeNanos monotonic clock when SensorMeasurement are assumed to occur.