CipherLab RK25 User Manual page 38

Android programming
Hide thumbs Also See for RK25:
Table of Contents

Advertisement

Android Programming Guide
Remarks
Enable_State.FALSE means the reader is disabled to decode the symbology.
Enable_State.TRUE means the reader is enabled to decode the symbology.
See Also
Get_Decoders_Status
Set_Decoders_Status
Purpose
Sets symbology status (enabled or disabled) of the reader.
Syntax
ClResult Set_Decoders_Status (Decoders settings)
Parameters
42 symbologies are supported. See above for details.
Return Value
If successful, it returns ClResult.S_OK.
Otherwise, it returns ClResult.S_ERR.
Example
Decoders settings = new Decoders();
settings.enableAustrailianPostal = Enable_State.FALSE;
settings.enableAztec = Enable_State.FALSE;
settings.enableChinese2Of5 = Enable_State.FALSE;
settings.enableCodabar = Enable_State.FALSE;
settings.enableCode11 = Enable_State.FALSE;
settings.enableCode128 = Enable_State.FALSE;
settings.enableCode39 = Enable_State.FALSE;
settings.enableCode93 = Enable_State.FALSE;
if (ClResult.S_ERR == mReaderManager.Set_Decoders_Status(settings))
Toast.makeText(this, "Set_Decoders_Status was failed",
Toast.LENGTH_SHORT).show();
else
Toast.makeText(this, "Set_Decoders_Status was successful",
Toast.LENGTH_SHORT).show();
Remarks
Enable_State.FALSE means the reader is disabled to decode the symbology.
Enable_State.TRUE means the reader is enabled to decode the symbology.
See Also
Set_Decoders_Status
Get_UserPreferences
Purpose
Gets user preference settings of the barcode reader.
ClResult Get_UserPreferences (UserPreference settings)
Syntax
Parameters
A default value comes with an asterisk "*".
int addonSecurityLevel
[in][out] A value that specifies decode security level for reading UPC/EAN when
"Decode with Addons (=Auto-discriminate)" is applied.
Enable_State displayMode
[in][out] A value that specifies whether to enable display mode.
30
2~30
*10 (times of supplementary decoding)
Enable_State.FALSE
*Disables

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents