C# Class DroidExplorer.Service.DevicesMonitor

Exibir arquivo Open project: camalot/droidexplorer Class Usage Examples

Private Properties

Property Type Description
DevicesMonitor System
TimerUpdate void

Public Methods

Method Description
Start ( ) : void

Starts this instance.

Stop ( ) : void

Stops this instance.

Protected Methods

Method Description
OnDeviceAdded ( DeviceEventArgs e ) : void

Raises the E:DeviceAdded event.

OnDeviceRemoved ( DeviceEventArgs e ) : void

Raises the E:DeviceRemoved event.

OnDeviceStateChanged ( DeviceEventArgs e ) : void

Raises the E:DeviceStateChanged event.

Private Methods

Method Description
DevicesMonitor ( ) : System

Initializes a new instance of the DevicesMonitor class.

TimerUpdate ( object state ) : void

Timers the update.

Method Details

OnDeviceAdded() protected method

Raises the E:DeviceAdded event.
protected OnDeviceAdded ( DeviceEventArgs e ) : void
e DroidExplorer.Core.DeviceEventArgs The instance containing the event data.
return void

OnDeviceRemoved() protected method

Raises the E:DeviceRemoved event.
protected OnDeviceRemoved ( DeviceEventArgs e ) : void
e DroidExplorer.Core.DeviceEventArgs The instance containing the event data.
return void

OnDeviceStateChanged() protected method

Raises the E:DeviceStateChanged event.
protected OnDeviceStateChanged ( DeviceEventArgs e ) : void
e DroidExplorer.Core.DeviceEventArgs The instance containing the event data.
return void

Start() public method

Starts this instance.
public Start ( ) : void
return void

Stop() public method

Stops this instance.
public Stop ( ) : void
return void