Class Entity.Result
- java.lang.Object
-
- com.microblink.documentverification.entities.Entity.Result
-
- All Implemented Interfaces:
android.os.Parcelable
- Direct Known Subclasses:
Recognizer.Result
- Enclosing class:
- Entity<T extends Entity.Result>
public abstract static class Entity.Result extends java.lang.Object implements android.os.Parcelable
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.ObjectmOwner
-
Constructor Summary
Constructors Modifier Constructor Description protectedResult(long nativeResult)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Entity.Resultclone()Create a copy of the result.intdescribeContents()protected abstract voiddeserializeFromByteArray(byte[] arr)protected voidfinalize()longgetNativeContext()protected abstract booleanisEmpty()protected voidreadFromParcel(android.os.Parcel in)protected abstract byte[]serializeToByteArray()protected abstract voidterminateNative(long nativeContext)voidwriteToParcel(android.os.Parcel dest, int i)
-
-
-
Method Detail
-
getNativeContext
public final long getNativeContext()
-
isEmpty
protected abstract boolean isEmpty()
-
serializeToByteArray
@Nullable protected abstract byte[] serializeToByteArray()
-
deserializeFromByteArray
protected abstract void deserializeFromByteArray(@NonNull byte[] arr)
-
clone
@NonNull public abstract Entity.Result clone()
Create a copy of the result. This is required in order to retain the result even after owning entity has mutated it.- Overrides:
clonein classjava.lang.Object- Returns:
- a copy of the result
-
describeContents
public final int describeContents()
- Specified by:
describeContentsin interfaceandroid.os.Parcelable
-
writeToParcel
@CallSuper public void writeToParcel(@NonNull android.os.Parcel dest, int i)- Specified by:
writeToParcelin interfaceandroid.os.Parcelable
-
readFromParcel
@CallSuper protected void readFromParcel(@NonNull android.os.Parcel in)
-
terminateNative
protected abstract void terminateNative(long nativeContext)
-
finalize
protected void finalize() throws java.lang.Throwable- Overrides:
finalizein classjava.lang.Object- Throws:
java.lang.Throwable
-
-