Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

# Serialized Form

Package com.ebay.redlasersdk

Class com.ebay.redlasersdk.BarcodeResult extends java.lang.Object implements Serializable

serialVersionUID: 8443501328265178181L

Serialized Fields

### barcodeType

    int barcodeType

  The type of barcode found. Will be one of the types listed in `BarcodeTypes`.

### barcodeString

    java.lang.String barcodeString

  Text of the barcode. This is the character string read from the barcode, without additional processing. This means that Code 128 and QR Code barcodes may have AI and DI markers, and the optional checksum character in Code 39 barcodes will be returned if present. See the pdf documentation on specific barcode types for more information on specific symbologies.

### extendedBarcodeString

    java.lang.String extendedBarcodeString

  Extended barcode string. Currently only used for UPC-E barcodes; this will contain the expanded EAN-13 equivalent string.

### firstScanTime

    java.util.Date firstScanTime

  Timestamp of the initial recognition of this barcode.

### mostRecentScanTime

    java.util.Date mostRecentScanTime

  Timestamp of the most recent time this barcode was recognized. While scanning, this value will keep updating with the current time as long as the SDK can see the barcode.

### uniqueID

    java.util.UUID uniqueID

  A unique ID for this object instance; used by associatedBarcode

### associatedBarcode

    java.util.UUID associatedBarcode

  Refers to the uniqueID field of a barcode that is associated with this barcode. See the pdf documentation on associated barcodes.

### barcodeLocation

    java.util.ArrayList<E> barcodeLocation

  Barcode location in the coordinate system of the preview view. This is a list of points defining the corners of the barcode. The first point in the array is the top left corner of the barcode. The second point in the array is the top right corner of the barcode.

  The list is NOT guaranteed to contain 4 points, the polygon it defines is not guaranteed to wind clockwise, and is not guaranteed to be convex. It is guaranteed to be a simple polygon.

  If a barcode is recognized upside-down in the viewfinder, the first point in the array will be the bottom-right of the returned points. This is because that point is the top-left corner of the barcode in its natural orientation. Similarly, when using the front camera, the first point will be to the right of the second point when scanning a barcode right side up, and the points will wind counterclockwise, since the camera preview is mirrored along the Y axis when using the front camera.

### isPartialBarcode

    boolean isPartialBarcode

  TRUE if this is an incomplete barcode result. Some barcodes may be recognized in parts by scanning the device across the length of the barcode; see the pdf documentation. The barcodeString field of a partial barcode will contain an initial substring of the final barcode string.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2012 eBay Inc. All Rights Reserved.