C# Класс DroidExplorer.Service.DevicesMonitor

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DevicesMonitor System
TimerUpdate void

Открытые методы

Метод Описание
Start ( ) : void

Starts this instance.

Stop ( ) : void

Stops this instance.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
DevicesMonitor ( ) : System

Initializes a new instance of the DevicesMonitor class.

TimerUpdate ( object state ) : void

Timers the update.

Описание методов

OnDeviceAdded() защищенный Метод

Raises the E:DeviceAdded event.
protected OnDeviceAdded ( DeviceEventArgs e ) : void
e DroidExplorer.Core.DeviceEventArgs The instance containing the event data.
Результат void

OnDeviceRemoved() защищенный Метод

Raises the E:DeviceRemoved event.
protected OnDeviceRemoved ( DeviceEventArgs e ) : void
e DroidExplorer.Core.DeviceEventArgs The instance containing the event data.
Результат void

OnDeviceStateChanged() защищенный Метод

Raises the E:DeviceStateChanged event.
protected OnDeviceStateChanged ( DeviceEventArgs e ) : void
e DroidExplorer.Core.DeviceEventArgs The instance containing the event data.
Результат void

Start() публичный Метод

Starts this instance.
public Start ( ) : void
Результат void

Stop() публичный Метод

Stops this instance.
public Stop ( ) : void
Результат void