CipherLab RK25 User Manual page 28

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

Advertisement

Android Programming Guide
Enable_State showCodeType
[in][out] A value that specifies whether to transmit barcode type in data records.
Enable_State showCodeLen
[in][out] A value that specifies whether to transmit code length for a barcode in
data records.
String szPrefixCode
[in][out] A string variable that stores prefix code.
String szSuffixCode
[in][out] A string variable that stores suffix code.
int useDelim
[in][out] An ASCII value that specifies the delimiter in use.
String szCharsetName
[in][out] A string variable that specifies the current encoding for barcode data.
Enable_State clearPreviousData
[in][out] A value that specifies whether to clear barcode data.
Return Value
If successful, it returns ClResult.S_OK.
Otherwise, it returns ClResult.S_ERR.
Example
ReaderOutputConfiguration settings = new ReaderOutputConfiguration();
settings.enableKeyboardEmulation =
KeyboardEmulationType.InputMethod;
settings.autoEnterWay = OutputEnterWay.SuffixData;
settings.autoEnterChar = OutputEnterChar.Return;
settings.showCodeLen = Enable_State.TRUE;
settings.showCodeType = Enable_State.TRUE;
settings.szPrefixCode = "PreStr";
settings.szSuffixCode = "SufStr";
settings.useDelim = ':';
settings.szCharsetName = 'shift_JIS';
20
OutputEnter.Comma
OutputEnter.Semicolon Semicolon (= 0x3b)
Enable_State.FALSE *Does not transmit
Enable_State.TRUE
Enable_State.FALSE *Does not transmit
Enable_State.TRUE
0
1~127
windows-1252
big5
shift_JIS
Enable_State.FALSE *Does not clear
Enable_State.TRUE
Comma (= 0x2c)
Transmits
Transmits
*No delimiter
Adds a delimiter between UID and data when both are
decoded
*Standard ASCII
Traditional Chinese
Japanese
Clear

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents