CipherLab RK25 User Manual page 27

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

Advertisement

Remarks
Depending on reader type and associated reader setting, the fields of output
record may differ.
When data comes from barcode reader, data fields may include:
[Code Type][Prefix Code][Decode Data][Suffix Code][Code Length]
[Code Type]:
[Prefix Code]:
[Decode Data]:
[Suffix Code]:
[Code Length]:
See Also
Set_ReaderOutputConfiguration
Set_ReaderOutputConfiguration
Purpose
Sets the current ouptut data format.
ClResult Set_ReaderOutputConfiguration (ReaderOutputConfiguration
Syntax
settings)
Parameters
The default value (if there is) for each setting is indicated by an asterisk "*".
KeyboardEmulationType enableKeyboardEmulation
[in][out] A value that specifies whether to emulate data as typed text to
subsequently pass it to the focused text field of active application.
KeyboardEmulation
Type.None
KeyboardEmulation
Type.InputMethod
KeyboardEmulation
Type.KeyEvent
OutputEnterWay autoEnterWay
[in][out] A value that specifies whether to auto-affix a character after decoding.
OutputEnterWay.Disable
OutputEnterWay.SuffixData
OutputEnterWay.PreffixData
OutputEnterChar autoEnterChar
[in][out] A value that specifies the character to auto-affix.
OutputEnter.None
OutputEnter.Return
OutputEnter.Tab
OutputEnter.Space
This field is output only when showCodeType value is TRUE.
This field is output only when szPrefixCode is non-zero.
This field is output only when enableKeyboardEmulation value
is InputMethod or KeyEvent.
This field is output only when szSuffiixCode value is non-zero.
This field is output only when showCodeLen value is TRUE.
(Prefix/suffix codes are not included.)
Disables keyboard emulation. The decoded data will be
sent by the broadcast intent message.
*Enables keyboard emulation via input method.
Enables keyboard emulation via key event.
Disables
*Suffixes the decoded data (= decoded data
+ Enter-character)
Prefixes the decoded data (= Enter-character
+ decoded data)
None
*Carriage Return (= 0x0d)
Tab
Space (= 0x20)
Chapter 1 Barcode Reader API
19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents