public static final class BarcodeRecognizer.Result extends Recognizer.Result
Recognizer.Result.State| Modifier and Type | Field and Description | 
|---|---|
static android.os.Parcelable.Creator | 
CREATOR  | 
mOwner| Modifier | Constructor and Description | 
|---|---|
protected  | 
Result(long nativeResult)  | 
| Modifier and Type | Method and Description | 
|---|---|
BarcodeRecognizer.Result | 
clone()
Create a copy of the result. 
 | 
protected void | 
deserializeFromByteArray(byte[] arr)  | 
BarcodeType | 
getBarcodeType()
The format of the scanned barcode. 
 | 
byte[] | 
getRawData()
The raw bytes contained inside barcode. 
 | 
java.lang.String | 
getStringData()
String representation of data inside barcode. 
 | 
boolean | 
isUncertain()
True if returned result is uncertain, i.e. 
 | 
protected byte[] | 
serializeToByteArray()  | 
protected void | 
terminateNative(long nativeContext)  | 
java.lang.String | 
toString()  | 
getResultState, isEmptydescribeContents, finalize, getNativeContext, readFromParcel, writeToParcel@NonNull public BarcodeType getBarcodeType()
@NonNull public byte[] getRawData()
public boolean isUncertain()
@NonNull public java.lang.String getStringData()
@NonNull public java.lang.String toString()
toString in class java.lang.Object@Nullable protected byte[] serializeToByteArray()
serializeToByteArray in class Entity.Resultprotected void deserializeFromByteArray(@NonNull
                                        byte[] arr)
deserializeFromByteArray in class Entity.Resultpublic BarcodeRecognizer.Result clone()
Entity.Resultclone in class Recognizer.Resultprotected void terminateNative(long nativeContext)
terminateNative in class Entity.Result