All Classes Namespaces Functions Variables Properties Events
Public Member Functions | Public Attributes | Protected Member Functions | Properties | Events | List of all members
BlinkStickDotNet.UsbMonitor Class Reference

Public Member Functions

void Start ()
 Start monitoring for added/removed BlinkStick devices. More...
 
void Stop ()
 Stop monitoring for added/removed BlinkStick devices. More...
 

Public Attributes

IDeviceNotifier UsbDeviceNotifier
 USB device monitor for Linux/Mac. More...
 

Protected Member Functions

void OnBlinkStickConnected (BlinkStick device)
 Raises the BlinkStick connected event. More...
 
void OnBlinkStickDisconnected (BlinkStick device)
 Raises the BlinkStick disconnected event. More...
 
void OnUsbDevicesChanged ()
 Raises the usb device changed event. More...
 

Properties

Boolean Monitoring [get]
 Gets a value indicating whether this BlinkStickDotNet.UsbMonitor is monitoring. More...
 

Events

EventHandler< DeviceModifiedArgsBlinkStickConnected
 Occurs when BlinkStick is connected. More...
 
EventHandler< DeviceModifiedArgsBlinkStickDisconnected
 Occurs when BlinkStick disconnected. More...
 
EventHandler UsbDevicesChanged
 Occurs when usb devices change. More...
 

Member Function Documentation

void BlinkStickDotNet.UsbMonitor.OnBlinkStickConnected ( BlinkStick  device)
protected

Raises the BlinkStick connected event.

Parameters
deviceDevice which has been connected.
void BlinkStickDotNet.UsbMonitor.OnBlinkStickDisconnected ( BlinkStick  device)
protected

Raises the BlinkStick disconnected event.

Parameters
deviceDevice which has been disconnected.
void BlinkStickDotNet.UsbMonitor.OnUsbDevicesChanged ( )
protected

Raises the usb device changed event.

void BlinkStickDotNet.UsbMonitor.Start ( )

Start monitoring for added/removed BlinkStick devices.

void BlinkStickDotNet.UsbMonitor.Stop ( )

Stop monitoring for added/removed BlinkStick devices.

Member Data Documentation

IDeviceNotifier BlinkStickDotNet.UsbMonitor.UsbDeviceNotifier

USB device monitor for Linux/Mac.

Property Documentation

Boolean BlinkStickDotNet.UsbMonitor.Monitoring
get

Gets a value indicating whether this BlinkStickDotNet.UsbMonitor is monitoring.

true if monitoring; otherwise, false.

Event Documentation

EventHandler<DeviceModifiedArgs> BlinkStickDotNet.UsbMonitor.BlinkStickConnected

Occurs when BlinkStick is connected.

EventHandler<DeviceModifiedArgs> BlinkStickDotNet.UsbMonitor.BlinkStickDisconnected

Occurs when BlinkStick disconnected.

EventHandler BlinkStickDotNet.UsbMonitor.UsbDevicesChanged

Occurs when usb devices change.


The documentation for this class was generated from the following file: