C# Class Artemis.DeviceProviders.DeviceProvider

Datei anzeigen Open project: SpoinkyNL/Artemis

Public Methods

Method Description
Disable ( ) : void

Disables the device

TryEnable ( ) : bool

Tries to enable the device and updates CanUse accordingly

TryEnableAsync ( ) : Task

Tries to enable the device and updates CanUse accordingly asynchronously

UpdateDevice ( Bitmap bitmap ) : void

Updates a non-keyboard to take the colours found in the provided bitmap

Method Details

Disable() public abstract method

Disables the device
public abstract Disable ( ) : void
return void

TryEnable() public abstract method

Tries to enable the device and updates CanUse accordingly
public abstract TryEnable ( ) : bool
return bool

TryEnableAsync() public method

Tries to enable the device and updates CanUse accordingly asynchronously
public TryEnableAsync ( ) : Task
return Task

UpdateDevice() public abstract method

Updates a non-keyboard to take the colours found in the provided bitmap
public abstract UpdateDevice ( Bitmap bitmap ) : void
bitmap System.Drawing.Bitmap
return void