Package 

Interface CameraFragmentListener.DocumentCheckResultCallback

    • Method Summary

      Modifier and Type Method Description
      abstract void documentAccepted() Call if the document was accepted and should be analysed.
      abstract void documentRejected(@NonNull() String messageForUser) Call if the document doesn't conform to your expectations and pass in a message to be shown to the user.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • documentAccepted

         abstract void documentAccepted()

        Call if the document was accepted and should be analysed.

        Note: Always call this method on the main thread.

      • documentRejected

         abstract void documentRejected(@NonNull() String messageForUser)

        Call if the document doesn't conform to your expectations and pass in a message to be shown to the user.

        Note: Always call this method on the main thread.

        Parameters:
        messageForUser - a message informing the user why the selected file was rejected