public enum ResultMetadataType extends Enum<ResultMetadataType>
Enum Constant and Description |
---|
BYTE_SEGMENTS
2D barcode formats typically encode text, but allow for a sort of 'byte mode'
which is sometimes used to encode binary data.
|
ERASURES_CORRECTED
The number of erasures corrected.
|
ERROR_CORRECTION_LEVEL
Error correction level used, if applicable.
|
ERRORS_CORRECTED
The number of errors corrected.
|
ISSUE_NUMBER
For some periodicals, indicates the issue number as an
Integer . |
ORIENTATION
Denotes the likely approximate orientation of the barcode in the image.
|
OTHER
Unspecified, application-specific metadata.
|
PDF417_EXTRA_METADATA
PDF417-specific metadata.
|
POSSIBLE_COUNTRY
For some products, the possible country of manufacture as a
String denoting the
ISO country code. |
STRUCTURED_APPEND_PARITY
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
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
For some products, indicates the suggested retail price in the barcode as a
formatted
String . |
SYMBOLOGY_IDENTIFIER
Barcode Symbology Identifier.
|
UPC_EAN_EXTENSION
For some products, the extension text.
|
Modifier and Type | Method and Description |
---|---|
static ResultMetadataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultMetadataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultMetadataType OTHER
Object
.public static final ResultMetadataType ORIENTATION
Integer
whose
value is in the range [0,360).public static final ResultMetadataType BYTE_SEGMENTS
2D barcode formats typically encode text, but allow for a sort of 'byte mode'
which is sometimes used to encode binary data. While 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 List
of byte arrays corresponding to the
raw bytes in the byte segments in the barcode, in order.
public static final ResultMetadataType ERROR_CORRECTION_LEVEL
public static final ResultMetadataType ERRORS_CORRECTED
Integer
of value
greater than or equal to zero.public static final ResultMetadataType ERASURES_CORRECTED
Integer
of value
greater than or equal to zero.public static final ResultMetadataType ISSUE_NUMBER
Integer
.public static final ResultMetadataType SUGGESTED_PRICE
String
.public static final ResultMetadataType POSSIBLE_COUNTRY
String
denoting the
ISO country code. Some map to multiple possible countries, like "US/CA".public static final ResultMetadataType UPC_EAN_EXTENSION
public static final ResultMetadataType PDF417_EXTRA_METADATA
public static final ResultMetadataType STRUCTURED_APPEND_SEQUENCE
public static final ResultMetadataType STRUCTURED_APPEND_PARITY
public static final ResultMetadataType SYMBOLOGY_IDENTIFIER
public static ResultMetadataType[] values()
for (ResultMetadataType c : ResultMetadataType.values()) System.out.println(c);
public static ResultMetadataType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2007–2024. All rights reserved.