Package 

Interface CameraFragmentListener.DocumentCheckResultCallback

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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
    • Constructor Detail

    • 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