Ejemplo n.º 1
0
        private void UpdateDeviceStatus(LeapDeviceState status)
        {
            lock (thisLock)
            {
                //fires the event only in the case of an event handler being present
                if (OnDeviceStatusUpdate == null)
                {
                    return;
                }

                LeapListenerArgs args = new LeapListenerArgs(status);
                OnDeviceStatusUpdate(this, args);
            }
        }
Ejemplo n.º 2
0
 public LeapListenerArgs(LeapDeviceState status)
 {
     this.devicestatus = status;
 }
Ejemplo n.º 3
0
 public LeapListenerArgs(LeapDeviceState status)
 {
     this.devicestatus = status;
 }
Ejemplo n.º 4
0
        private void UpdateDeviceStatus(LeapDeviceState status)
        {
            lock (thisLock)
            {

                //fires the event only in the case of an event handler being present
                if (OnDeviceStatusUpdate == null) return;

                LeapListenerArgs args = new LeapListenerArgs(status);
                OnDeviceStatusUpdate(this, args);
            }
        }