public enum DecodeHintType extends Enum<DecodeHintType>
Reader.decode(BinaryBitmap,java.util.Map)| Enum Constant and Description | 
|---|
| ALLOWED_EAN_EXTENSIONSAllowed extension lengths for EAN or UPC barcodes. | 
| ALLOWED_LENGTHSAllowed lengths of encoded data -- reject anything else. | 
| ASSUME_CODE_39_CHECK_DIGITAssume Code 39 codes employ a check digit. | 
| ASSUME_GS1Assume the barcode is being processed as a GS1 barcode, and modify behavior as needed. | 
| CHARACTER_SETSpecifies what character encoding to use when decoding, where applicable (type String) | 
| NEED_RESULT_POINT_CALLBACKThe caller needs to be notified via callback when a possible  ResultPointis found. | 
| OTHERUnspecified, application-specific hint. | 
| POSSIBLE_FORMATSImage is known to be of one of a few possible formats. | 
| PURE_BARCODEImage is a pure monochrome image of a barcode. | 
| RETURN_CODABAR_START_ENDIf true, return the start and end digits in a Codabar barcode instead of stripping them. | 
| TRY_HARDERSpend more time to try to find a barcode; optimize for accuracy, not speed. | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<?> | getValueType() | 
| static DecodeHintType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static DecodeHintType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final DecodeHintType OTHER
Object.public static final DecodeHintType PURE_BARCODE
Boolean.TRUE.public static final DecodeHintType POSSIBLE_FORMATS
List of BarcodeFormats.public static final DecodeHintType TRY_HARDER
Boolean.TRUE.public static final DecodeHintType CHARACTER_SET
public static final DecodeHintType ALLOWED_LENGTHS
int[].public static final DecodeHintType ASSUME_CODE_39_CHECK_DIGIT
Boolean.TRUE.public static final DecodeHintType ASSUME_GS1
Boolean.TRUE.public static final DecodeHintType RETURN_CODABAR_START_END
Boolean.TRUE.public static final DecodeHintType NEED_RESULT_POINT_CALLBACK
ResultPoint
 is found. Maps to a ResultPointCallback.public static final DecodeHintType ALLOWED_EAN_EXTENSIONS
int[] of the allowed extension lengths, for example [2], [5], or [2, 5].
 If it is optional to have an extension, do not set this hint. If this is set,
 and a UPC or EAN barcode is found but an extension is not, then no result will be returned
 at all.public static DecodeHintType[] values()
for (DecodeHintType c : DecodeHintType.values()) System.out.println(c);
public static DecodeHintType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Class<?> getValueType()
Copyright © 2007–2018. All rights reserved.