| java.lang.Object |
| ↳ |
com.vuzix.sdk.barcode.ScanResult2 |
Class Overview
Represents a single barcode located within an image.
Summary
|
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
| int |
CONTENTS_FILE_DESCRIPTOR |
|
| int |
PARCELABLE_ELIDE_DUPLICATES |
|
| int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
|
abstract
int
|
describeContents()
|
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Fields
Public Constructors
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 Methods
public
void
addResultPoints
(Point[] newPoints)
| Parameters |
newPoints |
Point |
public
int
describeContents
()
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
()
public
String
toString
()
public
void
writeToParcel
(Parcel out, int flags)
| Parameters |
out |
Parcel |
flags |
int |