X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=core%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2FDecodeHintType.java;h=20b922ca178be7d58fd182c253f7ad50cf80c7bf;hb=de6f57f5cfd923b42c2c9665b2db381c3a7a3f53;hp=4b51e230fa12ab3c9c50aa4f3b7303858324d60b;hpb=afc10a58143505842f5a3433ba5675d45346f0be;p=zxing.git diff --git a/core/src/com/google/zxing/DecodeHintType.java b/core/src/com/google/zxing/DecodeHintType.java index 4b51e230..20b922ca 100644 --- a/core/src/com/google/zxing/DecodeHintType.java +++ b/core/src/com/google/zxing/DecodeHintType.java @@ -52,11 +52,27 @@ public final class DecodeHintType { */ public static final DecodeHintType TRY_HARDER = new DecodeHintType(); + /** + * Specifies what character encoding to use when decoding, where applicable (type String) + */ + public static final DecodeHintType CHARACTER_SET = new DecodeHintType(); + /** * Allowed lengths of encoded data -- reject anything else. Maps to an int[]. */ public static final DecodeHintType ALLOWED_LENGTHS = new DecodeHintType(); + /** + * Assume Code 39 codes employ a check digit. Maps to {@link Boolean}. + */ + public static final DecodeHintType ASSUME_CODE_39_CHECK_DIGIT = new DecodeHintType(); + + /** + * The caller needs to be notified via callback when a possible {@link ResultPoint} + * is found. Maps to a {@link ResultPointCallback}. + */ + public static final DecodeHintType NEED_RESULT_POINT_CALLBACK = new DecodeHintType(); + private DecodeHintType() { }