Move character encoding logic out to common, try again to improve its handling of...
[zxing.git] / core / src / com / google / zxing / ResultMetadataType.java
index fd8c29f..722b76d 100644 (file)
@@ -46,12 +46,18 @@ public final class ResultMetadataType {
    * the complete raw bytes in the barcode for these formats, it does not offer the bytes
    * from the byte segments alone.</p>
    *
-   * <p>This maps to a {@link java.util.Vector} of {@link byte[]}s corresponding to the
+   * <p>This maps to a {@link java.util.Vector} of byte arrays corresponding to the
    * raw bytes in the byte segments in the barcode, in order.</p>
    */
   public static final ResultMetadataType BYTE_SEGMENTS = new ResultMetadataType();
 
+  /**
+   * Error correction level used, if applicable. The value type depends on the
+   * format, but is typically a String.
+   */
+  public static final ResultMetadataType ERROR_CORRECTION_LEVEL = new ResultMetadataType();
+
   private ResultMetadataType() {
   }
 
-}
\ No newline at end of file
+}