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.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 bar code.
|
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 bar codes.
|
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 bar codes.
|
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 bar code 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.PickList
Allows the imager to decode only the bar code that is directly under the
cross-hair/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 bar code 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.
|
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 bar codes.
|
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.
|
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.
|
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 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