void StopListeningForHingeChanges()
            {
                if (!IsDuo)
                {
                    return;
                }

                _singleUseHingeSensor.OnSensorChanged -= OnSensorChanged;
                _singleUseHingeSensor.StopListening();
            }
Beispiel #2
0
 private void StopReading()
 {
     _hingeSensor.OnSensorChanged -= OnSensorChanged;
     _hingeSensor.StopListening();
 }