to top
Datalogic APIs
public class

QRCode

extends PropertyGroup
java.lang.Object
   ↳ com.datalogic.device.configuration.PropertyGroup
     ↳ com.datalogic.decode.configuration.QRCode

Class Overview

QRCode is the class that configures the QR Code Symbology.

Summary

Fields
public NumericProperty Length1 Length1 is one of the two configurable label lengths.
public NumericProperty Length2 Length2 is one of the two configurable label lengths.
public BooleanProperty absoluteGrid absoluteGrid enables or disables Absolute Grid algorithm.
public EnumProperty<CharacterSetMode> characterSetMode characterSetMode controls the character set in use for the decoded label.
public BooleanProperty enable enable enables or disables the symbology.
public BooleanProperty gs1_dl_qrcode gs1_qrcode enables or disables the GS1-DIGITAL_LINK-QRCODE symbology.
public BooleanProperty gs1_qrcode gs1_qrcode enables or disables the GS1-QR Code symbology.
public EnumProperty<LengthControlMode> lengthMode lengthMode is the LengthControlMode selected for a label.
public EnumProperty<QRMirror> qrMirror qrMirror controls the mirror mode.
public BooleanProperty s2dEnable s2dEnable enables device configuration through Scan2Deploy QR Codes.
public CharacterProperty userID userID specifies the symbology identifier (if any).
public BooleanProperty wifiEnable wifiEnable enables Wi-Fi configuration through Wi-Fi QR Code.
Public Constructors
QRCode(PropertyGetter editor)
This is the constructor of QRCode.
[Expand]
Inherited Methods
From class com.datalogic.device.configuration.PropertyGroup
From class java.lang.Object

Fields

public NumericProperty Length1

Length1 is one of the two configurable label lengths. It can be used as a single fixed accepted length, when lengthMode is set to ONE_FIXED. When TWO_FIXED is enabled, its value is one of the two possible accepted fixed lengths for a specific label. It can also represent the minor or major length value whenever RANGE is selected. If is set below the accepted minimum, the smallest accepted length will be used; instead it the set value exceed the maximum value, the biggest accepted length will be used.

Note: Length1 allowed range of values is somehow related to the nature of the barcode (linear vs 2D) but it's not intended to document in any way the scanner capabilities. An accepted minimum value and an accepted maximum value are introduced only to simplify length management in the device Scanner settings app. The chance to read a barcode depends on it's printed quality, resolution, overall size, distance from the reader, environmental light, etc...

public NumericProperty Length2

Length2 is one of the two configurable label lengths. When TWO_FIXED is enabled, its value is one of the two possible accepted fixed lengths for a specific label. It can also represent the minor or major length value whenever RANGE is selected. If is set below the accepted minimum, the smallest accepted length will be used; instead it the set value exceed the maximum value, the biggest accepted length will be used.

Note: Length2 allowed range of values is somehow related to the nature of the barcode (linear vs 2D) but it's not intended to document in any way the scanner capabilities. An accepted minimum value and an accepted maximum value are introduced only to simplify length management in the device Scanner settings app. The chance to read a barcode depends on it's printed quality, resolution, overall size, distance from the reader, environmental light, etc...

public BooleanProperty absoluteGrid

Added in revision 32

absoluteGrid enables or disables Absolute Grid algorithm. It performs a geometric reconstruction of the QR Code grid by regularizing it. This algorithm is executed only when the standard one fails. It may slow down decoding rate.

public EnumProperty<CharacterSetMode> characterSetMode

Added in revision 8

characterSetMode controls the character set in use for the decoded label.

public BooleanProperty enable

enable enables or disables the symbology.

public BooleanProperty gs1_dl_qrcode

Added in revision 36

gs1_qrcode enables or disables the GS1-DIGITAL_LINK-QRCODE symbology.

public BooleanProperty gs1_qrcode

Added in revision 29

gs1_qrcode enables or disables the GS1-QR Code symbology.

public EnumProperty<LengthControlMode> lengthMode

lengthMode is the LengthControlMode selected for a label. Selects the length control mode.

public EnumProperty<QRMirror> qrMirror

Added in revision 32

qrMirror controls the mirror mode.

public BooleanProperty s2dEnable

Added in revision 29

s2dEnable enables device configuration through Scan2Deploy QR Codes.

public CharacterProperty userID

userID specifies the symbology identifier (if any).
The symbology identifier is sent with the label when the global decode property sendCodeId is set to USERDEFINED_IDENTIFIER_BEFORE_LABEL or USERDEFINED_IDENTIFIER_AFTER_LABEL.

public BooleanProperty wifiEnable

Added in revision 16

wifiEnable enables Wi-Fi configuration through Wi-Fi QR Code.

Public Constructors

public QRCode (PropertyGetter editor)

Added in revision 1

This is the constructor of QRCode. All symbology options are initialized by editor.

Parameters
editor A PropertyGetter used to load the current barcode family.