Foodolini.Activities.FoodRegistration.Devices.ICaptureDeviceMonitor Interface Reference

Interface for a class that can monitor video capture devices on the system. More...

Inherited by Foodolini.Activities.FoodRegistration.Devices.LinuxCaptureDeviceMonitor, and Foodolini.Activities.FoodRegistration.Devices.WindowsCaptureDeviceMonitor.

List of all members.

Properties

ICollection< IDeviceInfoDevices [get]
bool SupportsAutoRefresh [get]

Events

EventHandler< DeviceEventArgsDeviceAdded
 Occurs whenever a device added to the system.
EventHandler< DeviceEventArgsDeviceRemoved
 Occurs whenever a device removed from the system.

Detailed Description

Interface for a class that can monitor video capture devices on the system.

When altering this change it to be an abstract class to avoid breaking backwards compatibility in the future.

Definition at line 13 of file ICaptureDeviceMonitor.cs.


Property Documentation

ICollection<IDeviceInfo> Foodolini.Activities.FoodRegistration.Devices.ICaptureDeviceMonitor.Devices [get]
bool Foodolini.Activities.FoodRegistration.Devices.ICaptureDeviceMonitor.SupportsAutoRefresh [get]

Returns true, if DeviceAdded and DeviceRemoved events can be relied upon to provide device status updates

If this is false, the UI should offer a refresh button that synchronizes the UI to the Devices property. Note, that this does not imply that DeviceAdded and DeviceRemoved may not be used. However, merly they may not be relied upon.

Implemented in Foodolini.Activities.FoodRegistration.Devices.LinuxCaptureDeviceMonitor, and Foodolini.Activities.FoodRegistration.Devices.WindowsCaptureDeviceMonitor.

Definition at line 38 of file ICaptureDeviceMonitor.cs.


Event Documentation

EventHandler<DeviceEventArgs> Foodolini.Activities.FoodRegistration.Devices.ICaptureDeviceMonitor.DeviceAdded
EventHandler<DeviceEventArgs> Foodolini.Activities.FoodRegistration.Devices.ICaptureDeviceMonitor.DeviceRemoved

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

Foodolini 1.0.0 Documentation, generated with DoxyGen.