|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.zxing.ResultMetadataType
public final class ResultMetadataType
Represents some type of metadata about the result of the decoding that the decoder wishes to communicate back to the caller.
| Field Summary | ||
|---|---|---|
static 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. |
|
static ResultMetadataType |
ERROR_CORRECTION_LEVEL
Error correction level used, if applicable. |
|
static ResultMetadataType |
ISSUE_NUMBER
For some periodicals, indicates the issue number as an Integer. |
|
static ResultMetadataType |
ORIENTATION
Denotes the likely approximate orientation of the barcode in the image. |
|
static ResultMetadataType |
OTHER
Unspecified, application-specific metadata. |
|
static ResultMetadataType |
POSSIBLE_COUNTRY
For some products, the possible country of manufacture as a String denoting the
ISO country code. |
|
static ResultMetadataType |
SUGGESTED_PRICE
For some products, indicates the suggested retail price in the barcode as a formatted String. |
|
| Method Summary | ||
|---|---|---|
String |
getName()
|
|
String |
toString()
Returns a string representation of the object. |
|
static ResultMetadataType |
valueOf(String name)
|
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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 Vector 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".
| Method Detail |
|---|
public String getName()
public String toString()
ObjecttoString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString in class Objectpublic static ResultMetadataType valueOf(String name)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal