Package zext.plantuml.com.google.zxing
Class DecodeHintType
- java.lang.Object
-
- zext.plantuml.com.google.zxing.DecodeHintType
-
public final class DecodeHintType extends java.lang.ObjectEncapsulates a type of hint that a caller may pass to a barcode reader to help it more quickly or accurately decode it. It is up to implementations to decide what, if anything, to do with the information that is supplied.
-
-
Field Summary
Fields Modifier and Type Field Description static DecodeHintTypeALLOWED_LENGTHSAllowed lengths of encoded data -- reject anything else.static DecodeHintTypeASSUME_CODE_39_CHECK_DIGITAssume Code 39 codes employ a check digit.static DecodeHintTypeCHARACTER_SETSpecifies what character encoding to use when decoding, where applicable (type String)static DecodeHintTypeNEED_RESULT_POINT_CALLBACKThe caller needs to be notified via callback when a possibleResultPointis found.static DecodeHintTypeOTHERUnspecified, application-specific hint.static DecodeHintTypePOSSIBLE_FORMATSImage is known to be of one of a few possible formats.static DecodeHintTypePURE_BARCODEImage is a pure monochrome image of a barcode.static DecodeHintTypeTRY_HARDERSpend more time to try to find a barcode; optimize for accuracy, not speed.
-
-
-
Field Detail
-
OTHER
public static final DecodeHintType OTHER
Unspecified, application-specific hint. Maps to an unspecifiedObject.
-
PURE_BARCODE
public static final DecodeHintType PURE_BARCODE
Image is a pure monochrome image of a barcode. Doesn't matter what it maps to; useBoolean.TRUE.
-
POSSIBLE_FORMATS
public static final DecodeHintType POSSIBLE_FORMATS
Image is known to be of one of a few possible formats. Maps to aVectorofBarcodeFormats.
-
TRY_HARDER
public static final DecodeHintType TRY_HARDER
Spend more time to try to find a barcode; optimize for accuracy, not speed. Doesn't matter what it maps to; useBoolean.TRUE.
-
CHARACTER_SET
public static final DecodeHintType CHARACTER_SET
Specifies what character encoding to use when decoding, where applicable (type String)
-
ALLOWED_LENGTHS
public static final DecodeHintType ALLOWED_LENGTHS
Allowed lengths of encoded data -- reject anything else. Maps to an int[].
-
ASSUME_CODE_39_CHECK_DIGIT
public static final DecodeHintType ASSUME_CODE_39_CHECK_DIGIT
Assume Code 39 codes employ a check digit. Maps toBoolean.
-
NEED_RESULT_POINT_CALLBACK
public static final DecodeHintType NEED_RESULT_POINT_CALLBACK
The caller needs to be notified via callback when a possibleResultPointis found. Maps to a ResultPointCallback.
-
-