C# Класс CUE.NET.CueSDK

Показать файл Открыть проект

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

Метод Описание
Initialize ( bool exclusiveAccess = false ) : void

Initializes the CUE-SDK. This method should be called exactly ONE time, before anything else is done.

IsSDKAvailable ( CorsairDeviceType sdkType = null ) : bool

Checks if the SDK for the provided CorsairDeviceType is available or checks if CUE is installed and SDK supported enabled if null is provided.

Reinitialize ( ) : void

Reinitialize the CUE-SDK and temporarily hand back full control to CUE.

Reinitialize ( bool exclusiveAccess ) : void

Reinitialize the CUE-SDK and temporarily hand back full control to CUE.

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

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

Checks if automatic updates should occur and starts/stops the update-loop if needed.

Throw ( CorsairError error ) : void
UpdateLoop ( ) : void

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

Initialize() публичный статический Метод

Initializes the CUE-SDK. This method should be called exactly ONE time, before anything else is done.
Thrown if the SDK is already initialized, the SDK is not compatible to CUE or if CUE returns unknown devices. Thrown if the CUE-SDK provides an error.
public static Initialize ( bool exclusiveAccess = false ) : void
exclusiveAccess bool Specifies whether the application should request exclusive access or not.
Результат void

IsSDKAvailable() публичный статический Метод

Checks if the SDK for the provided CorsairDeviceType is available or checks if CUE is installed and SDK supported enabled if null is provided.
public static IsSDKAvailable ( CorsairDeviceType sdkType = null ) : bool
sdkType CorsairDeviceType The to check or null to check for generall SDK availability.
Результат bool

Reinitialize() публичный статический Метод

Reinitialize the CUE-SDK and temporarily hand back full control to CUE.
public static Reinitialize ( ) : void
Результат void

Reinitialize() публичный статический Метод

Reinitialize the CUE-SDK and temporarily hand back full control to CUE.
public static Reinitialize ( bool exclusiveAccess ) : void
exclusiveAccess bool Specifies whether the application should request exclusive access or not.
Результат void