void ISensorEventListener.OnSensorChanged(SensorEvent e) { if ((e?.Values?.Count ?? 0) <= 0) { return; } Barometer.OnChanged(new BarometerData(e.Values[0])); }
void ISensorEventListener.OnSensorChanged(SensorEvent e) => Barometer.OnChanged(new BarometerData(e.Values[0]));