Class SuccessFrameGrabberRecognizer.Result
java.lang.Object
com.microblink.photopay.entities.Entity.Result
com.microblink.photopay.entities.recognizers.Recognizer.Result
com.microblink.photopay.entities.recognizers.successframe.SuccessFrameGrabberRecognizer.Result
- All Implemented Interfaces:
android.os.Parcelable
- Enclosing class:
- SuccessFrameGrabberRecognizer
-
Nested Class Summary
Nested classes/interfaces inherited from class com.microblink.photopay.entities.recognizers.Recognizer.Result
Recognizer.Result.State -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final android.os.Parcelable.Creator<SuccessFrameGrabberRecognizer.Result>Fields inherited from class com.microblink.photopay.entities.Entity.Result
mOwnerFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Create a copy of the result.protected voiddeserializeFromByteArray(byte[] arr) Returns the result of given recognizer.Returns the camera frame image on which given recognizer's result has become valid.protected byte[]protected voidterminateNative(long nativeContext) toString()voidwriteToParcel(android.os.Parcel dest, int i) Methods inherited from class com.microblink.photopay.entities.recognizers.Recognizer.Result
getResultState, isEmptyMethods inherited from class com.microblink.photopay.entities.Entity.Result
describeContents, finalize, getNativeContext, readFromParcel
-
Field Details
-
CREATOR
@NonNull public static final android.os.Parcelable.Creator<SuccessFrameGrabberRecognizer.Result> CREATOR
-
-
Constructor Details
-
Result
-
-
Method Details
-
getSuccessFrame
Returns the camera frame image on which given recognizer's result has become valid. If given recognizer's result never became valid, returns null. NOTE: Internal buffers of the returned image are valid as long as Result object (this) is alive.- Returns:
- the camera frame image on which given recognizer's result has become valid
-
getSlaveResult
Returns the result of given recognizer.- Returns:
- the result of given recognizer.
-
toString
-
serializeToByteArray
@Nullable protected byte[] serializeToByteArray()- Specified by:
serializeToByteArrayin classEntity.Result
-
deserializeFromByteArray
protected void deserializeFromByteArray(@NonNull byte[] arr) - Specified by:
deserializeFromByteArrayin classEntity.Result
-
clone
Description copied from class:Entity.ResultCreate a copy of the result. This is required in order to retain the result even after owning entity has mutated it.- Specified by:
clonein classRecognizer.Result- Returns:
- a copy of the result
-
terminateNative
protected void terminateNative(long nativeContext) - Specified by:
terminateNativein classEntity.Result
-
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int i) - Specified by:
writeToParcelin interfaceandroid.os.Parcelable- Overrides:
writeToParcelin classEntity.Result
-