public override void DidReceiveBatteryLevel(float level, double timestamp, EmpaticaDeviceManager device) { if (!_isCapturing) { return; } BatteryLevelAction?.Invoke(new BatteryLevel(level, timestamp - _startedTime)); }
public void DidReceiveBatteryLevel(float level, double timestamp) { if (!_isCapturing) { return; } BatteryLevelAction?.Invoke(new BatteryLevel(level, timestamp - _startedTime)); }