Enum DocumentScan.DocumentSource
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum DocumentScan.DocumentSource extends Enum<DocumentScan.DocumentSource>
Submission methods the end user can choose from on the V2 chooser screen.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<DocumentScan.DocumentSource>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description CAMERACapture the document with the device camera.
FILE_UPLOADBrowse 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_UPLOADPick an image from the device photo gallery.
-
Method Summary
Modifier and Type Method Description final DocumentScan.DocumentSourcevalueOf(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. -
-
Method Detail
-
valueOf
final DocumentScan.DocumentSource valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<DocumentScan.DocumentSource> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<DocumentScan.DocumentSource> getEntries()
Submission methods the end user can choose from on the V2 chooser screen.
-
-
-
-