AccelerometerAndMagnetometerSyncedSensorMeasurement

class AccelerometerAndMagnetometerSyncedSensorMeasurement(var accelerometerMeasurement: AccelerometerSensorMeasurement? = null, var magnetometerMeasurement: MagnetometerSensorMeasurement? = null, var timestamp: Long = 0) : SyncedSensorMeasurement

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

Constructors

constructor(accelerometerMeasurement: AccelerometerSensorMeasurement? = null, magnetometerMeasurement: MagnetometerSensorMeasurement? = null, timestamp: Long = 0)

Properties

Link copied to clipboard

an accelerometer measurement. Notice that this instance might be reused between consecutive AccelerometerAndMagnetometerSyncedSensorMeasurement 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 AccelerometerAndMagnetometerSyncedSensorMeasurement 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.