C# Class Artemis.DeviceProviders.DeviceProvider

Afficher le fichier Open project: SpoinkyNL/Artemis

Méthodes publiques

Méthode 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 méthode

Disables the device
public abstract Disable ( ) : void
Résultat void

TryEnable() public abstract méthode

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

TryEnableAsync() public méthode

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

UpdateDevice() public abstract méthode

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