Пример #1
0
        public void OnSensorChanged(SensorEvent e)
        {
            if (e.Sensor.Type == SensorType.Proximity)
              {
            lock (_locker)
            {

              location = e.ToString();
              Monitor.Pulse(_locker);
            }
              }
        }