Enum DocumentScan.DocumentSource

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CAMERA

      Capture the document with the device camera.

      FILE_UPLOAD

      Browse for a file (PDF, JPG or PNG) via the system file picker. For document types that don't accept PDFs (e.g. DocumentType.MEDICAL_DOC) it is dropped at runtime only when at least one other source remains; a set of exactly {FILE_UPLOAD} on such a type is rejected with a configuration error before the flow launches.

      IMAGE_UPLOAD

      Pick an image from the device photo gallery.

    • Method Summary

      Modifier and Type Method Description
      final DocumentScan.DocumentSource valueOf(String value) Returns the enum constant of this type with the specified name.
      final Array<DocumentScan.DocumentSource> values() Returns an array containing the constants of this enum type, in the order they're declared.
      final EnumEntries<DocumentScan.DocumentSource> getEntries() Submission methods the end user can choose from on the V2 chooser screen.
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

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