예제 #1
0
        void ISensorEventListener.OnSensorChanged(SensorEvent e)
        {
            if ((e?.Values?.Count ?? 0) <= 0)
            {
                return;
            }

            Barometer.OnChanged(new BarometerData(e.Values[0]));
        }
예제 #2
0
 void ISensorEventListener.OnSensorChanged(SensorEvent e)
 => Barometer.OnChanged(new BarometerData(e.Values[0]));