Obtain Data; Data Output Settings - CipherLab RK25 User Manual

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

Advertisement

1.3. OBTAIN DATA

1.3.1. DATA OUTPUT SETTINGS

Processed Data
Set_ReaderOutputConfiguration() sets which info to attach to a decoded barcode data:
Info
Description
Code Type
Barcode Type. See Set_ReaderOutputConfiguration() paramenter
showCodeType.
Prefix Code
No prefix code if value is 0. See Set_ ReaderOutputConfiguration()
parameter szPrefixCode.
Decode Data
Decoded barcode data
Suffix Code
No suffix code if value is 0. See Set_ ReaderOutputConfiguration()
parameter szSuffixCode.
Code Length
Decoded barcode length (excluding prefix and/or suffix codes). See
Set_ReaderOutputConfiguration() paramenter showCodeLen.
Note: Data fields by sequence may include –
[Code Type], [Prefix Code], [Decode Data], [Suffix Code], [Code Length]
Get_ReaderOutputConfiguration
Purpose
Gets the current ouptut data format.
Syntax
ClResult Get_ReaderOutputConfiguration (ReaderOutputConfiguration
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 the active application.
OutputEnterWay autoEnterWay
[in][out] A value that specifies whether to auto-affix a character after decoding.
OutputEnterChar autoEnterChar
KeyboardEmulationType.
None
KeyboardEmulationType.
InputMethod
KeyboardEmulationType.
KeyEvent
OutputEnterWay.Disable
OutputEnterWay.SuffixData
OutputEnterWay.PreffixData
Chapter 1 Barcode Reader API
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)
17

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RK25 and is the answer not in the manual?

Questions and answers

Table of Contents