Enum CorsairError
iCUE-SDK: Shared list of all errors which could happen during calling of Corsair* functions.
Namespace: RGB.NET.Devices.Corsair
Assembly: RGB.NET.Devices.Corsair.dll
Syntax
public enum CorsairError
Fields
Name | Description |
---|---|
DeviceNotFound | iCUE-SDK: if invalid device id has been supplied as an argument to the function (when device id refers to disconnected device) (runtime error) |
IncompatibleProtocol | iCUE-SDK: if developer is calling the function that is not supported by the server (either because protocol has broken by server or client or because the function is new and server is too old. Check CorsairSessionDetails for details) (developer error) |
InvalidArguments | iCUE-SDK: if developer supplied invalid arguments to the function (for specifics look at function descriptions) (developer error) |
InvalidOperation | iCUE-SDK: if developer is calling the function that is not allowed due to current state (reading improper properties from device, or setting callback when it has already been set) (developer error) |
NoControl | iCUE-SDK: if some other client has or took over exclusive control (runtime error) |
NotAllowed | iCUE-SDK: if specific functionality (key interception) is disabled in iCUE settings (runtime error) |
NotConnected | iCUE-SDK: if iCUE is not running or was shut down or third-party control is disabled in iCUE settings (runtime error), or if developer did not call CorsairConnect after calling CorsairDisconnect or on app start (developer error) |
Success | iCUE-SDK: if previously called function completed successfully |