Package com.microblink.blinkid.entities
Class Entity.Result
java.lang.Object
com.microblink.blinkid.entities.Entity.Result
- All Implemented Interfaces:
android.os.Parcelable
- Direct Known Subclasses:
Processor.Result
,Recognizer.Result
- Enclosing class:
- Entity<T extends Entity.Result>
-
Nested Class Summary
-
Field Summary
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Entity.Result
clone()
Create a copy of the result.final int
protected abstract void
deserializeFromByteArray
(byte[] arr) protected void
finalize()
final long
protected abstract boolean
isEmpty()
protected void
readFromParcel
(android.os.Parcel in) protected abstract byte[]
protected abstract void
terminateNative
(long nativeContext) void
writeToParcel
(android.os.Parcel dest, int i)
-
Field Details
-
mOwner
-
-
Constructor Details
-
Result
protected Result(long nativeResult)
-
-
Method Details
-
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
Create a copy of the result. This is required in order to retain the result even after owning entity has mutated it. -
describeContents
public final int describeContents()- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
@CallSuper public void writeToParcel(@NonNull android.os.Parcel dest, int i) - Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
readFromParcel
@CallSuper protected void readFromParcel(@NonNull android.os.Parcel in) -
terminateNative
protected abstract void terminateNative(long nativeContext) -
finalize
-