# Print output for @column tags ?>
public
class
ScanResult2
extends Object
implements
Parcelable
java.lang.Object | |
↳ | com.vuzix.sdk.barcode.ScanResult2 |
Represents a single barcode located within an image.
Fields | |
---|---|
public
static
final
Creator<ScanResult2> |
CREATOR
|
Public constructors | |
---|---|
ScanResult2(String text, byte[] rawBytes, Point[] resultPoints, BarcodeType2 format)
|
|
ScanResult2(String text, byte[] rawBytes, Point[] resultPoints, BarcodeType2 format, long timestamp)
|
Public methods | |
---|---|
void
|
addResultPoints(Point[] newPoints)
|
int
|
describeContents()
|
BarcodeType2
|
getBarcodeFormat()
|
byte[]
|
getRawBytes()
|
Point[]
|
getResultPoints()
|
String
|
getText()
|
long
|
getTimestamp()
|
String
|
toString()
|
void
|
writeToParcel(Parcel out, int flags)
|
public ScanResult2 (String text, byte[] rawBytes, Point[] resultPoints, BarcodeType2 format)
Parameters | |
---|---|
text |
String |
rawBytes |
byte |
resultPoints |
Point |
format |
BarcodeType2 |
public ScanResult2 (String text, byte[] rawBytes, Point[] resultPoints, BarcodeType2 format, long timestamp)
Parameters | |
---|---|
text |
String |
rawBytes |
byte |
resultPoints |
Point |
format |
BarcodeType2 |
timestamp |
long |
public void addResultPoints (Point[] newPoints)
Parameters | |
---|---|
newPoints |
Point |
public int describeContents ()
Returns | |
---|---|
int |
public BarcodeType2 getBarcodeFormat ()
Returns | |
---|---|
BarcodeType2 |
BarcodeType2 representing the format of the barcode that was decoded
|
public byte[] getRawBytes ()
Returns | |
---|---|
byte[] |
raw bytes encoded by the barcode, if applicable, otherwise null
|
public Point[] getResultPoints ()
Returns | |
---|---|
Point[] |
points related to the barcode in the image. These are typically points identifying finder patterns or the corners of the barcode. The exact meaning is specific to the type of barcode that was decoded. |
public String getText ()
Returns | |
---|---|
String |
raw text encoded by the barcode |
public long getTimestamp ()
Returns | |
---|---|
long |
public String toString ()
Returns | |
---|---|
String |
public void writeToParcel (Parcel out, int flags)
Parameters | |
---|---|
out |
Parcel |
flags |
int |