public enum ResultMetadataType extends java.lang.Enum<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.
|
ERROR_CORRECTION_LEVEL
Error correction level used, if applicable.
|
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 . |
UPC_EAN_EXTENSION
For some products, the extension text
|
限定符和类型 | 方法和说明 |
---|---|
static ResultMetadataType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ResultMetadataType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 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 ResultMetadataType[] values()
for (ResultMetadataType c : ResultMetadataType.values()) System.out.println(c);
public static ResultMetadataType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值