Class TemplatingRecognizer.Result

    • Constructor Detail

      • Result

        protected Result​(long nativeResult)
    • Method Detail

      • 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