Exemplo n.º 1
0
 public static void UnregisterWebcamRemovalEvent(USBEventHandler onRemoval)
 {
     if (_scanner != null)
     {
         _scanner.UnregisterWebcamRemovalEvent(onRemoval);
     }
 }
Exemplo n.º 2
0
 public void UnregisterWebcamRemovalEvent(USBEventHandler onRemoval)
 {
     if (notifier != null && onRemoval != null)
     {
         notifier.Removal -= onRemoval;
     }
 }
Exemplo n.º 3
0
 public static void UnregisterWebcamConnectionEvent(USBEventHandler onArrival)
 {
     if (_scanner != null)
     {
         _scanner.UnregisterWebcamArrivalEvent(onArrival);
     }
 }
Exemplo n.º 4
0
 public void RegisterWebcamArrivalEvent(USBEventHandler onArrival)
 {
     if (notifier != null && onArrival != null)
     {
         notifier.Arrival += onArrival;
     }
 }