projects
/
zxing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ALLOWED_LENGTHS hint, for now, in support of ITF
[zxing.git]
/
core
/
src
/
com
/
google
/
zxing
/
DecodeHintType.java
diff --git
a/core/src/com/google/zxing/DecodeHintType.java
b/core/src/com/google/zxing/DecodeHintType.java
index
ec0e823
..
4e84634
100644
(file)
--- a/
core/src/com/google/zxing/DecodeHintType.java
+++ b/
core/src/com/google/zxing/DecodeHintType.java
@@
-52,6
+52,11
@@
public final class DecodeHintType {
*/
public static final DecodeHintType TRY_HARDER = new DecodeHintType();
*/
public static final DecodeHintType TRY_HARDER = new DecodeHintType();
+ /**
+ * Allowed lengths of encoded data -- reject anything else. Maps to an {@link int[]}.
+ */
+ public static final DecodeHintType ALLOWED_LENGTHS = new DecodeHintType();
+
private DecodeHintType() {
}
private DecodeHintType() {
}