Interface ClassifierCallback

All Superinterfaces:
android.os.Parcelable

public interface ClassifierCallback extends android.os.Parcelable
Callback that will be invoked from the recognizer when document is classified.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface android.os.Parcelable

    android.os.Parcelable.ClassLoaderCreator<T extends Object>, android.os.Parcelable.Creator<T extends Object>
  • Field Summary

    Fields inherited from interface android.os.Parcelable

    CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onDocumentSupportStatus(boolean isDocumentSupported)
    Called from the recognizer to report whether the given document is supported or not.

    Methods inherited from interface android.os.Parcelable

    describeContents, writeToParcel
  • Method Details

    • onDocumentSupportStatus

      void onDocumentSupportStatus(boolean isDocumentSupported)
      Called from the recognizer to report whether the given document is supported or not. This callback is invoked after the document classification is done.
      Parameters:
      isDocumentSupported - true if the document is supported and can be recognized, false otherwise.