public void DidReceiveAcceleration(int x, int y, int z, double timestamp) { if (!_isCapturing) { return; } AccelerationAction?.Invoke(new Acceleration(x, y, z, timestamp - _startedTime)); }
public override void DidReceiveAccelerationX(sbyte x, sbyte y, sbyte z, double timestamp, EmpaticaDeviceManager device) { if (!_isCapturing) { return; } AccelerationAction?.Invoke(new Acceleration(x, y, z, timestamp - _startedTime)); }