StatusCode

enum StatusCode : Enum<SdkException.StatusCode>

Enumeration of all possible status codes reported by the LiG Scanner SDK.

These status codes provide detailed information about SDK operations, errors, and state changes. They are primarily delivered through the LiGScanner.onStatusReported callback.

Categories:

Parameters

value

The numeric value of the status code

Entries

FPS_NOT_MATCH
Link copied to clipboard

FPS does not match expected range (23-27 FPS)

AUTHENTICATION_TIMEOUT
Link copied to clipboard

Authentication request timed out.

AUTHENTICATION_FAILED
Link copied to clipboard

Authentication failed due to invalid credentials.

AUTHENTICATION_OK
Link copied to clipboard

Authentication completed successfully.

DEVICE_STATUS_UNKNOWN
Link copied to clipboard

We can't tell whether the device is supported or not. Most likely, internet is not available

DEVICE_IS_SUPPORTED
Link copied to clipboard

Device Is Supported

CONFIG_FILE_ERROR
Link copied to clipboard

Config files aren't loaded successfully

TOKEN_EXPIRED
Link copied to clipboard
SERVER_ANOMALY
Link copied to clipboard

Server got troubles

LACK_ACCESS_NETWORK_STATE_PERMISSION
Link copied to clipboard
LACK_READ_PHONE_STATE_PERMISSION
Link copied to clipboard
LACK_EXTERNAL_STORAGE_PERMISSION
Link copied to clipboard
LACK_CAMERA_PERMISSION
Link copied to clipboard
LACK_ACCESS_WIFI_STATE_PERMISSION
Link copied to clipboard
LACK_INTERNET_PERMISSION
Link copied to clipboard
INTERNET_ANOMALY
Link copied to clipboard
CAMERA_ACCESS_EXCEPTION
Link copied to clipboard
NO_SUPPORT_DEVICE
Link copied to clipboard

Device is not supported

NO_CAMERA
Link copied to clipboard

No camera detected.

INIT_LACK
Link copied to clipboard
NOT_INITIALIZED
Link copied to clipboard

This error code means that the SDK has not been initialized but LiGScanner.start is called.

PERMISSION_LACK
Link copied to clipboard
INIT_ERROR_NOT_SUPPORT
Link copied to clipboard
CORRECT
Link copied to clipboard
TAG_DETECTED
Link copied to clipboard

LigTag detection successful

Types

Companion
Link copied to clipboard
object Companion

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
value
Link copied to clipboard
val value: Int