public static final class SimNumberRecognizer.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 |
---|---|
SimNumberRecognizer.Result |
clone()
Create a copy of the result.
|
protected void |
deserializeFromByteArray(byte[] arr) |
java.lang.String |
getSimNumber()
Recognized SIM number from barcode or empty string if recognition failed.
|
protected byte[] |
serializeToByteArray() |
protected void |
terminateNative(long nativeContext) |
java.lang.String |
toString() |
getResultState, isEmpty
describeContents, finalize, getNativeContext, readFromParcel, writeToParcel
@NonNull public java.lang.String getSimNumber()
@NonNull public java.lang.String toString()
toString
in class java.lang.Object
@Nullable protected byte[] serializeToByteArray()
serializeToByteArray
in class Entity.Result
protected void deserializeFromByteArray(@NonNull byte[] arr)
deserializeFromByteArray
in class Entity.Result
public SimNumberRecognizer.Result clone()
Entity.Result
clone
in class Recognizer.Result
protected void terminateNative(long nativeContext)
terminateNative
in class Entity.Result