com.google.zxing
Class DecodeHintType

java.lang.Object
  extended by com.google.zxing.DecodeHintType

public final class DecodeHintType
extends Object

Encapsulates 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.

See Also:
Reader.decode(BinaryBitmap,java.util.Hashtable)
Since:
BlackBerry API 6.0.0

Field Summary
static DecodeHintType ALLOWED_LENGTHS
          Allowed lengths of encoded data -- reject anything else.
static DecodeHintType OTHER
          Unspecified, application-specific hint.
static DecodeHintType POSSIBLE_FORMATS
          Image is known to be of one of a few possible formats.
static DecodeHintType PURE_BARCODE
          Image is a pure monochrome image of a barcode.
static DecodeHintType TRY_HARDER
          Spend more time to try to find a barcode; optimize for accuracy, not speed.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Field Detail

OTHER

public static final DecodeHintType OTHER
Unspecified, application-specific hint. Maps to an unspecified Object.

Since:
BlackBerry API 6.0.0

PURE_BARCODE

public static final DecodeHintType PURE_BARCODE
Image is a pure monochrome image of a barcode. Doesn't matter what it maps to; use Boolean.TRUE.

Since:
BlackBerry API 6.0.0

POSSIBLE_FORMATS

public static final DecodeHintType POSSIBLE_FORMATS
Image is known to be of one of a few possible formats. Maps to a Vector of BarcodeFormats.

Since:
BlackBerry API 6.0.0

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; use Boolean.TRUE.

Since:
BlackBerry API 6.0.0

ALLOWED_LENGTHS

public static final DecodeHintType ALLOWED_LENGTHS
Allowed lengths of encoded data -- reject anything else. Maps to an int[].

Since:
BlackBerry API 6.0.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.