Upload Mode
Parameter
Description
Default
Required
Type
Value
Last updated
To enable the document upload functionality it is necessary to instantiate an object of type UploadSettings(boolean enable) and set its parameters:
.setEnable(enable: Boolean)
Enables or disables this feature.
true
β
.setCompress(enable: Boolean)
Enables or disables file compression before uploading.
true
β
.setFileFormats(fileFormats: Array<FileFormat>)
Specifies the accepted file formats for upload.
.PDF, .JPG, .JPEG, .PNG, .HEIF
β
.setMaxFileSize(maxFileSize: Int)
Sets the maximum file size limit in KB.
10000 (10MB)
β
.setActivityLayout(activityLayout: Int)
Defines the background layout for document upload.
-
β
.setPopUpLayout(popUpLayout: Int)
Defines the layout for the document upload request popup.
-
β
Currently, the supported file formats are:
PNG
image/png
JPG
image/jpg
JPEG
image/jpeg
PDF
application/pdf
HEIF
image/heif
Last updated

