Class TemplatingRecognizer.Result
java.lang.Object
com.microblink.blinkid.entities.Entity.Result
com.microblink.blinkid.entities.recognizers.Recognizer.Result
com.microblink.blinkid.entities.recognizers.templating.TemplatingRecognizer.Result
- All Implemented Interfaces:
android.os.Parcelable
- Direct Known Subclasses:
MrtdRecognizer.Result
- Enclosing class:
- TemplatingRecognizer<R extends TemplatingRecognizer.Result>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.microblink.blinkid.entities.recognizers.Recognizer.Result
Recognizer.Result.State
-
Field Summary
Fields inherited from class com.microblink.blinkid.entities.Entity.Result
mOwner
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract int
getClassID
(long nativeEntityContext) final TemplatingClass
Returns theTemplatingClass
for recognized document.protected void
readFromParcel
(android.os.Parcel in) protected abstract void
setNativeClass
(long nativeEntityContext, int classID) void
writeToParcel
(android.os.Parcel dest, int flags) Methods inherited from class com.microblink.blinkid.entities.recognizers.Recognizer.Result
clone, getResultState, isEmpty
Methods inherited from class com.microblink.blinkid.entities.Entity.Result
describeContents, deserializeFromByteArray, finalize, getNativeContext, serializeToByteArray, terminateNative
-
Constructor Details
-
Result
protected Result(long nativeResult)
-
-
Method Details
-
getTemplatingClass
Returns theTemplatingClass
for recognized document. If classification failed, returnsnull
.- Returns:
- the
TemplatingClass
for recognized document ornull
-
getClassID
protected abstract int getClassID(long nativeEntityContext) -
setNativeClass
protected abstract void setNativeClass(long nativeEntityContext, int classID) -
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int flags) - Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
- Overrides:
writeToParcel
in classEntity.Result
-
readFromParcel
protected void readFromParcel(@NonNull android.os.Parcel in) - Overrides:
readFromParcel
in classEntity.Result
-