to top
Datalogic APIs
Added in revision 1
public interface

DecodeResult

com.datalogic.decode.DecodeResult

Class Overview

DecodeResult is an interface passed by onRead(DecodeResult) to retrieve scanned data from the decoder.

Summary

Public Methods
abstract BarcodeID getBarcodeID()
Returns the BarcodeID of the read data.
abstract byte[] getRawData()
Returns the raw decoded data result from scanner as a byte array.
abstract String getText()
Returns the decoded result as a formatted String.

Public Methods

public abstract BarcodeID getBarcodeID ()

Added in revision 1

Returns the BarcodeID of the read data.

Returns

public abstract byte[] getRawData ()

Added in revision 1

Returns the raw decoded data result from scanner as a byte array.

Returns
  • byte[] the resultant array containing the raw information directly read from the scanner.

public abstract String getText ()

Added in revision 1

Returns the decoded result as a formatted String.

Returns
  • String representing the decoded result.