X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=core%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2FDecodeHintType.java;h=20b922ca178be7d58fd182c253f7ad50cf80c7bf;hb=de6f57f5cfd923b42c2c9665b2db381c3a7a3f53;hp=21a4de00e4c552a82c7baa6f88c92b8c39f98e39;hpb=575d4709225e8c1ebacbefc1d5c860aebe848744;p=zxing.git diff --git a/core/src/com/google/zxing/DecodeHintType.java b/core/src/com/google/zxing/DecodeHintType.java index 21a4de00..20b922ca 100644 --- 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(); + /** + * 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[]. */ @@ -62,6 +67,12 @@ public final class DecodeHintType { */ 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() { }