JumioFileAttacher

Some scan parts (e.g. Document) allow direct file upload

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
data class JumioFileRequirements(val mimeTypes: List<String>, val maxFileSize: Int, val pdfMaxPages: Int)

Requirements for files that can be attached through setFileDescriptor or setFile

Properties

Link copied to clipboard

Requirements for files that can be attached through setFileDescriptor or setFile. See JumioFileRequirements for further information

Functions

Link copied to clipboard
fun attach(scanPart: JumioScanPart)

Attach the file attacher to the current JumioScanPart

Link copied to clipboard
fun setFile(file: File): Unit?

Attach an File object

Link copied to clipboard

Attach an ParcelFileDescriptor object