Skip to main content
Version: Skinetic SDK 1.6.0

com.actronika.skineticsdk.SkineticSDK.ERROR

Error codes returned by the functions of the library.

Enum Constants

Enum constantsDescription
E_NO_ERRORNo error.
E_OTHEROther.
E_INVALID_PARAMInvalid parameter.
E_NOT_CONNECTEDNo device connected.
E_OUTPUT_NOT_SUPPORTEDOutput is not supported on this platform.
E_INVALID_JSONInvalid Json.
E_DEVICE_NOT_REACHABLEDevice not reachable.
E_PENDING_COMMANDA priority command is waiting to be processed.
E_NO_MORE_SLOTNo available slot on the board.
E_NO_INSTANCENo Skinetic instance created.
E_INVALID_MESSAGEReceived an invalid message.
E_ALREADY_RUNNINGProcess is already running.
E_DEVICE_ALREADY_CONNECTEDA device is already connected.
E_INITIALIZATION_INTERRUPTEDThe initialization of the device has been interrupted.
E_PLAY_IGNOREDPlay was ignored due to overall trigger strategy.
E_JNI_ERRORError in JNI layer.
E_USB_PERMISSION_DENIEDPermission to use USB denied.

Public Functions

Name
intgetValue()
Get corresponding int of an ERROR enum value.
StringgetMessage()
Get ERROR string.
ERRORget(int value)
Find an ERROR enum by value, or throw an exception if it's unknown.

Enum Constants Documentation

enum constant E_NO_ERROR

E_NO_ERROR;

No error.

enum constant E_OTHER

E_OTHER;

Other.

enum constant E_INVALID_PARAM

E_INVALID_PARAM;

Invalid parameter.

enum constant E_NOT_CONNECTED

E_NOT_CONNECTED;

No device connected.

enum constant E_OUTPUT_NOT_SUPPORTED

E_OUTPUT_NOT_SUPPORTED;

Output is not supported on this platform.

enum constant E_INVALID_JSON

E_INVALID_JSON;

Invalid Json.

enum constant E_DEVICE_NOT_REACHABLE

E_DEVICE_NOT_REACHABLE;

Device not reachable.

enum constant E_PENDING_COMMAND

E_PENDING_COMMAND;

A priority command is waiting to be processed.

enum constant E_NO_MORE_SLOT

E_NO_MORE_SLOT;

No available slot on the board.

enum constant E_NO_INSTANCE

E_NO_INSTANCE;

No Skinetic instance created.

enum constant E_INVALID_MESSAGE

E_INVALID_MESSAGE;

Received an invalid message.

enum constant E_ALREADY_RUNNING

E_ALREADY_RUNNING;

Process is already running.

enum constant E_DEVICE_ALREADY_CONNECTED

E_DEVICE_ALREADY_CONNECTED;

A device is already connected.

enum constant E_INITIALIZATION_INTERRUPTED

E_INITIALIZATION_INTERRUPTED;

The initialization of the device has been interrupted.

enum constant E_PLAY_IGNORED

E_PLAY_IGNORED;

Play was ignored due to overall trigger strategy.

enum constant E_JNI_ERROR

E_JNI_ERROR;

Error in JNI layer.

enum constant E_USB_PERMISSION_DENIED

E_USB_PERMISSION_DENIED;

Permission to use USB denied.

Public Functions Documentation

function getValue

public int getValue()

Get corresponding int of an ERROR enum value.

function getMessage

public String getMessage()

Get ERROR string.

Get description of the error cause.

function get

public static ERROR get(
int value
)

Find an ERROR enum by value, or throw an exception if it's unknown.

Parameters:

  • value The code value to get an ERROR for.

Return: The ERROR enum associated with value.


Updated on 2024-07-11 at 09:47:11 +0000