Table of Contents

Enum ResultMetadataType

Namespace
ZXing
Assembly
zxing.dll

Represents some type of metadata about the result of the decoding that the decoder wishes to communicate back to the caller.

public enum ResultMetadataType

Fields

AZTEC_EXTRA_METADATA = 11

Aztec-specific metadata

BYTE_SEGMENTS = 2

2D barcode formats typically encode text, but allow for a sort of 'byte mode' which is sometimes used to encode binary data. While {@link Result} makes available the complete raw bytes in the barcode for these formats, it does not offer the bytes from the byte segments alone.

This maps to a {@link java.util.List} of byte arrays corresponding to the raw bytes in the byte segments in the barcode, in order.

ERROR_CORRECTION_LEVEL = 3

Error correction level used, if applicable. The value type depends on the format, but is typically a String.

ISSUE_NUMBER = 4

For some periodicals, indicates the issue number as an {@link Integer}.

ORIENTATION = 1

Denotes the likely approximate orientation of the barcode in the image. This value is given as degrees rotated clockwise from the normal, upright orientation. For example a 1D barcode which was found by reading top-to-bottom would be said to have orientation "90". This key maps to an {@link Integer} whose value is in the range [0,360).

OTHER = 0

Unspecified, application-specific metadata. Maps to an unspecified {@link Object}.

PDF417_EXTRA_METADATA = 10

PDF417-specific metadata

POSSIBLE_COUNTRY = 6

For some products, the possible country of manufacture as a {@link String} denoting the ISO country code. Some map to multiple possible countries, like "US/CA".

QR_MASK_PATTERN = 13

The bit mask applied to a QR code

STRUCTURED_APPEND_PARITY = 9

If the code format supports structured append and the current scanned code is part of one then the parity is given with it.

STRUCTURED_APPEND_SEQUENCE = 8

If the code format supports structured append and the current scanned code is part of one then the sequence number is given with it.

SUGGESTED_PRICE = 5

For some products, indicates the suggested retail price in the barcode as a formatted {@link String}.

SYMBOLOGY_IDENTIFIER = 12

Barcode Symbology Identifier. Note: According to the GS1 specification the identifier may have to replace a leading FNC1/GS character when prepending to the barcode content.

UPC_EAN_EXTENSION = 7

For some products, the extension text