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>

public abstract static class TemplatingRecognizer.Result extends Recognizer.Result
  • Constructor Details

    • Result

      protected Result(long nativeResult)
  • Method Details

    • getTemplatingClass

      @Nullable public final TemplatingClass getTemplatingClass()
      Returns the TemplatingClass for recognized document. If classification failed, returns null.
      Returns:
      the TemplatingClass for recognized document or null
    • 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 interface android.os.Parcelable
      Overrides:
      writeToParcel in class Entity.Result
    • readFromParcel

      protected void readFromParcel(@NonNull android.os.Parcel in)
      Overrides:
      readFromParcel in class Entity.Result