Package io.scanbot.sdk.barcode
Enum Class BarcodeDefectProfile
- All Implemented Interfaces:
Serializable,Comparable<BarcodeDefectProfile>,Constable
Specifies the types of defects expected when scanning barcodes.
Selecting a profile that matches the expected barcode population can
improve decoding performance.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionHandles general barcode defects as well as defect patterns associated with severely degraded or malfunctioning thermal printers.Handles general barcode defects, including damage and degradation caused by production, handling, storage, or normal wear.Handles general barcode defects as well as common defect patterns associated with thermal printing. -
Method Summary
Modifier and TypeMethodDescriptionstatic BarcodeDefectProfileReturns the enum constant of this class with the specified name.static BarcodeDefectProfile[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GENERIC
Handles general barcode defects, including damage and degradation caused by production, handling, storage, or normal wear. -
GENERIC_AND_THERMAL
Handles general barcode defects as well as common defect patterns associated with thermal printing. This is the default profile and is recommended for most scanning scenarios. -
DEGRADED_THERMAL
Handles general barcode defects as well as defect patterns associated with severely degraded or malfunctioning thermal printers. Use this profile when scanning barcodes produced by thermal printers with defective printheads or similar hardware issues. Using it with other barcode populations may increase the risk of false-positive reads.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-