DS5-AX User Manual Ver.0
2016. 03.17
62
The API related files
API has consisted as below;
-
BarcodeDeclaration.java
-
IBarcodeInterface.aidl
BarcodeDeclaration.java
This is declaration files related to return value and parameter. Below is meaning of each declaration in the file;
BARCODE_RESULT: API return value
RECEIVE_TYPE: Receiving method for decoded data
SCAN_NOTIFICATION: Determine how to notification when decoding barcode
DELAY_MODE: Determine the speed of data transmission when keyboard event mode
SYMBOLOGY_IDENT: It changes the broadcasted
Symbology ident integer
to actual data
SYMBOLOGY_ENABLE: It determines usability for a specific symbology
Please refer below table for return values and parameters of each declaration
Declaration
Type
Related APIs
Values
Applied Version
Value
Description
BARCODE_RESULT
Return Value
All APIs
RESULT_SUCEESS
Success
1.0.11
RESULT_UNKNOWN
Unknown result
1.0.11
RESULT_NOT_YET_IMPLEMENT
Unimplemented API
1.0.11
RESULT_NOT_SUPPORT
Not supporting in this version
1.0.11
RESULT_OPENED
You are trying to open again, even while it has been open
already
1.0.11
RESULT_CLOSED
You are trying to close again, even while it has been closed 1.0.11