Package com.manateeworks
Class BarcodeScanner.MWResults
java.lang.Object
com.manateeworks.BarcodeScanner.MWResults
- Enclosing class:
- BarcodeScanner
Represents MWResults object for storing one or multiple MWResult object(s).
This is the preferred object for storing the raw result returned from the decoder.
Initialize this object's constructor with the raw data returned from MWBscanGrayscaleImage
(requires a previous call to MWBsetResultType and MWB_RESULT_TYPE_MW as param).
-
Field Summary
FieldsModifier and TypeFieldDescriptionintint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResult(int index) Returns a MWResult from an ArrayList on the specified index.
-
Field Details
-
version
public int version -
results
-
count
public int count
-
-
Constructor Details
-
MWResults
public MWResults(byte[] buffer) Main MWResults constructor. Initializes a new MWResults object.- Parameters:
buffer- Raw result byte array returned from MWBscanGrayscaleImage
-
-
Method Details
-
getResult
Returns a MWResult from an ArrayList on the specified index.- Parameters:
index- Position in the ArrayList.- Returns:
BarcodeScanner.MWResult
-