com.google.zxing
Class ResultMetadataType

java.lang.Object
  extended by com.google.zxing.ResultMetadataType

public final class ResultMetadataType
extends Object

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

Since:
BlackBerry API 6.0.0

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 ORIENTATION
          Denotes the likely approximate orientation of the barcode in the image.
static ResultMetadataType OTHER
          Unspecified, application-specific metadata.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Field Detail

OTHER

public static final ResultMetadataType OTHER
Unspecified, application-specific metadata. Maps to an unspecified Object.

Since:
BlackBerry API 6.0.0

ORIENTATION

public static final ResultMetadataType ORIENTATION
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 Integer whose value is in the range [0,360).

Since:
BlackBerry API 6.0.0

BYTE_SEGMENTS

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.

Since:
BlackBerry API 6.0.0

ERROR_CORRECTION_LEVEL

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

Since:
BlackBerry API 6.0.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.