Arguments for the orientation sensor.
Inheritance: System.EventArgs
Ejemplo n.º 1
0
        void OnReadingChanged(Sensor sender, OrientationSensorReadingChangedEventArgs args)
        {
            var handler = changed;

            if (handler != null)
            {
                var value = ConvertToMatrix(args.Reading);
                var e     = new OrientationEventArgs(value);
                handler.Invoke(this, e);
            }
        }
Ejemplo n.º 2
0
        void OnReadingChanged(Sensor sender, OrientationSensorReadingChangedEventArgs args)
        {
            var handler = changed;

            if (handler != null)
            {
                var value = ConvertToMatrix(args.Reading);
                var e = new OrientationEventArgs(value);
                handler.Invoke(this, e);
            }
        }