public class ScannerConfig extends Object
Example Usage: ScannerConfig scannerConfig = scanner.getConfig(scannerConfig); scannerConfig.scanParams.decodeHapticFeedback = true; scannerConfig.decoderParams.codabar.length1 = 6; scanner.setConfig(scannerConfig);
Modifier and Type | Class and Description |
---|---|
static class |
ScannerConfig.AdaptiveScanning
Enable or Disable Adaptive scanning.
|
static class |
ScannerConfig.AimingPattern
Describes the aiming pattern to be turned ON/OFF.
|
static class |
ScannerConfig.AimType
Describes the type of aiming to use.
|
static class |
ScannerConfig.AudioStreamType
Volume slider type for decode audio feedback.
|
static class |
ScannerConfig.BeamWidth
Controls the beam width of a laser scanner.
|
static class |
ScannerConfig.BooklandFormat
Lists the Bookland formats
|
static class |
ScannerConfig.CheckDigit
The number of check digits to be verified.
|
static class |
ScannerConfig.CheckDigitScheme
Two algorithms are possible for the verification of the second MSI check
digit.
|
static class |
ScannerConfig.CheckDigitType
Verify data integrity.
|
static class |
ScannerConfig.CodeIdType
A Code ID character identifies the code type of a scanned barcode.
|
static class |
ScannerConfig.CouponReport
Supported Coupon modes
|
static class |
ScannerConfig.DecodeAudioFeedbackMode
Describes the Audio Feedback Mode is given by the host device and remote scanner.
|
static class |
ScannerConfig.DecodeLEDFeedbackMode
Describes the LED Feedback mode is given by the host device and remote scanner.
|
class |
ScannerConfig.DecoderParams
The DecoderParams class contains decoder parameters that
are used by multiple decoder symbologies.
|
static class |
ScannerConfig.GS1LimitedSecurityLevel
Security level addition of GS1 DataBar lim decoder.
|
static class |
ScannerConfig.HanXinInverse
This parameter allows the user to select decoding on inverse HanXin barcodes.
|
static class |
ScannerConfig.IlluminationMode
Enable/disable illumination depending on ambient light conditions.
|
static class |
ScannerConfig.Inverse1DMode
This parameter allows the user to select decoding on inverse 1D barcodes.
|
static class |
ScannerConfig.Isbt128ContactMode
Option for concatenating pairs of ISBT128 code types.
|
static class |
ScannerConfig.LcdMode
Enable or disable LCD mode (for Blockbuster imager devices only).
|
static class |
ScannerConfig.LinearSecurityLevel
Sets the number of times a barcode is read to confirm an accurate
decode.
|
static class |
ScannerConfig.OneDQuietZoneLevel
Describes the effort at which the decoder will attempt to decode margin-less barcodes.
|
static class |
ScannerConfig.PairAfterScannerReboot
Enable/disable automatic reconnection after scanner reboot.
|
static class |
ScannerConfig.PickList
Deprecated.
This enum is deprecated and the recommendation is to use new enum
ScannerConfig.PicklistEx .
Allows the imager to decode only the barcode that is directly under the
cross-hair/reticle (+) part of the pattern. This feature is useful in
applications where multiple barcodes may appear in the field of view
during a decode session and only one of them is targeted for decode.
Note: Selecting the picklist may adversely affect overall decoding performance.
|
static class |
ScannerConfig.PicklistEx
Allows the imager or camera to decode only the barcode that is directly under the
cross-hair (+)/center of the reticle part of the pattern.
|
static class |
ScannerConfig.PoorQualityDecodeEffortLevel
Describes the selection of enhancement modes for decoding barcodes of poor or degraded quality.
|
static class |
ScannerConfig.PowerMode
Set laser scanner power mode
|
static class |
ScannerConfig.Preamble
Controls the preamble applied to the barcode Preamble characters are
part of the UPC symbol consisting of Country Code and System Character.
|
class |
ScannerConfig.ReaderParams
The ReaderParams class holds the parameters for a
scanner.
|
static class |
ScannerConfig.ScanMode
Available scanning modes.
|
class |
ScannerConfig.ScanParams
The ScanParams class provides access to scanning
parameters that are available for all decoders.
|
static class |
ScannerConfig.SecurityLevel
The scanner offers four levels of decode security for UPC/EAN barcodes.
|
static class |
ScannerConfig.SkipOnUnSupported
Describes what to do when the scanner config fields are not supported for the specified scanner.
|
static class |
ScannerConfig.SupplementalMode
Supplemental modes
|
static class |
ScannerConfig.UccLinkMode
Describes the UCC link mode state.
|
class |
ScannerConfig.UdiParams
The UdiParams class provides access to UDI
parameters that are available to configure.
|
static class |
ScannerConfig.VerifyCheckDigit
Check the integrity of all Code 11 symbols to verify that the data
complies with the specified check digit algorithm.
|
static class |
ScannerConfig.ViewFinderMode
Configures the Viewfinder modes supported for camera scanning.
|
Modifier and Type | Field and Description |
---|---|
ScannerConfig.DecoderParams |
decoderParams
The DecoderParams class contains decoder parameters that are used by
multiple decoder symbologies.
|
ScannerConfig.ReaderParams |
readerParams
The ReaderParams class holds the parameters for a scanner.
|
ScannerConfig.ScanParams |
scanParams
The ScanParams property provides access to scanning parameters that are
available for all decoders.
|
ScannerConfig.SkipOnUnSupported |
skipOnUnsupported
This flag to tells whether to skip the unsupported parameter/values and continue or stop setting the configuration.
|
ScannerConfig.UdiParams |
udiParams
The UdiParams class holds the parameters for UDI.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isParamSupported(String param)
This method helps to check scanner config parameters supported
Returns true if specified parameter is supported.
|
void |
resetToDefault(Scanner scanner)
Resets the scanner parameters to defaults values for the specified scanner.
|
public ScannerConfig.SkipOnUnSupported skipOnUnsupported
public ScannerConfig.ScanParams scanParams
public ScannerConfig.DecoderParams decoderParams
public ScannerConfig.ReaderParams readerParams
public ScannerConfig.UdiParams udiParams
public boolean isParamSupported(String param)
Example Usage: ScannerConfig config1 = scanner.getConfig(scannerConfig); if ( config1.isParamSupported("config1.scanParams.decodeHapticFeedback") ) { config1.scanParams.decodeHapticFeedback = true; } if ( config1.isParamSupported("config1.decoderParams.codabar.enabled") ) { config1.decoderParams.codabar.enabled = true; } scanner.setConfig(config1);
param
- public void resetToDefault(Scanner scanner) throws ScannerException
scanner
- ScannerException