DevicesError Enumeration

Namespace: id3.Devices

Definition

Defines a range of error codes that the SDK might return during its operation
These codes help identify specific errors that occur within the SDK’s scope, facilitating debugging and error handling.
class DevicesError
enum DevicesError
public enum DevicesError
public enum DevicesError
typedef enum id3DevicesError

Fields

Name

Value

Description

success

0

Operation completed successfully; no error encountered.

insufficientBuffer

-1

The given buffer is too small.

objectDoesNotExist

-2

The requested object does not exist; a ‘null’ should be returned if possible.

base

-4000

The base error code from which module-specific errors start.

minimum

-4999

The lowest error code value defined within this module.

invalidHandle

-4001

The handle is invalid.

invalidParameter

-4002

One of the parameters is incorrect.

functionNotImplemented

-4003

Function not implemented.

javaException

-4004

A Java exception occurred during JNI operation.

exceptionInCallback

-4005

An exception was encountered within a callback function.

invalidType

-4006

The specified type is invalid for the current operation.

unsupportedParameter

-4007

The parameter specified is not supported by the current device or operation.

memoryError

-4008

An error occurred while allocating memory.

libraryNotFound

-4009

The required external library could not be loaded.

invalidPlugin

-4010

The plugin specified is invalid or not suitable for the current operation.

deviceModelAlreadyExists

-4011

An attempt to register a device model failed because it already exists.

deviceModelNotFound

-4012

The specified device model could not be found in the system.

deviceNotFound

-4013

The specified device could not be located or is not currently connected.

deviceAlreadyExists

-4014

An attempt to add a device failed because it is already present in the system.

deviceNotStarted

-4015

The operation failed because the device has not been started.

noPictureAvailable

-4016

No picture is currently available from the device.

noDataAvailable

-4017

No data is currently available from the device.

parseError

-4018

An error occurred while parsing data.

invalidRange

-4019

The specified range is invalid or out of acceptable bounds.

itemNotFound

-4020

The specified item was not found within the list or collection.

cantBeInitialized

-4021

The device could not be initialized due to an error or misconfiguration.

streamDisabled

-4022

The attempted operation failed because the stream is currently disabled.

timeout

-4023

The operation timed out before completion.

readOnly

-4024

Attempted to write to a read-only parameter.

asynchronousProcess

-4025

An asynchronous operation has been initiated.

deviceNotCreated

-4026

The device instance has not been created yet.

deviceNotOpened

-4027

The device is not open; operations requiring an open device cannot proceed.

takeSnapshotError

-4028

An error occurred during the snapshot-taking process.

deviceSpecificError

-4029

A device-specific error occurred, not covered by other error codes.

deviceManagerNotInitialized

-4030

The device manager must be initialized.