sdt.brc.android
Class BarcodeReaderResult

java.lang.Object
  extended by sdt.brc.android.BarcodeReaderResult

public class BarcodeReaderResult
extends Object

Recognized Barcode Information.


Field Summary
 long bottom
          Bottom boundary of the barcode on the image in pixels
 long direction
          Barcode reading direction.
 long left
          Left boundary of the barcode on the image in pixels
 long right
          Right boundary of the barcode on the image in pixels
 long top
          top boundary of the barcode on the image in pixels
 long type
          Barcode type.
 
Constructor Summary
BarcodeReaderResult()
           
 
Method Summary
 String getTypeName()
          Returns name of the barcode type.
 String getValue()
          Returns Barcode value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public long type
Barcode type. Can be one of the following values:
BarcodeReader.SDTBARCODE_CODABAR
BarcodeReader.SDTBARCODE_CODABAR
BarcodeReader.SDTBARCODE_CODE128
BarcodeReader.SDTBARCODE_CODE32
BarcodeReader.SDTBARCODE_CODE39
BarcodeReader.SDTBARCODE_CODE93
BarcodeReader.SDTBARCODE_CODE11
BarcodeReader.SDTBARCODE_EAN13
BarcodeReader.SDTBARCODE_EAN8
BarcodeReader.SDTBARCODE_EAN5
BarcodeReader.SDTBARCODE_I2OF5
BarcodeReader.SDTBARCODE_PATCH_CODE
BarcodeReader.SDTBARCODE_POSTNET
BarcodeReader.SDTBARCODE_PLUS2
BarcodeReader.SDTBARCODE_PLUS5
BarcodeReader.SDTBARCODE_UPCA
BarcodeReader.SDTBARCODE_UPCB
BarcodeReader.SDTBARCODE_INTELLIMAIL
BarcodeReader.SDTBARCODE_DATAMATRIX
BarcodeReader.SDTBARCODE_PDF417
BarcodeReader.SDTBARCODE_QRCODE


direction

public long direction
Barcode reading direction. Can be one of the following values:
BarcodeReader.SDTREADDIRECTION_LTR
BarcodeReader.SDTREADDIRECTION_RTL
BarcodeReader.SDTREADDIRECTION_TTB
BarcodeReader.SDTREADDIRECTION_BTT


left

public long left
Left boundary of the barcode on the image in pixels


top

public long top
top boundary of the barcode on the image in pixels


right

public long right
Right boundary of the barcode on the image in pixels


bottom

public long bottom
Bottom boundary of the barcode on the image in pixels

Constructor Detail

BarcodeReaderResult

public BarcodeReaderResult()
Method Detail

getValue

public String getValue()
Returns Barcode value.

Returns:
String containing barocde value

getTypeName

public String getTypeName()
Returns name of the barcode type.

Returns:
string containing one of the following values:
"CODABAR"
"CODE128"
"CODE32"
"CODE39"
"CODE93"
"CODE11"
"EAN13"
"EAN8"
"EAN5"
"I2OF5"
"PATCH_CODE"
"POSTNET"
"PLUS2"
"PLUS5"
"UPCA"
"UPCB"
"INTELLIMAIL"
"DATAMATRIX"
"PDF417"
"QRCODE"