Upload Mode

To enable the document upload functionality it is necessary to instantiate an object of type UploadSettings(boolean enable) and set its parameters:

Parameter
Description
Default
Required

enable

Enables or disables this feature.

true

compress

Enables or disables file compression before uploading.

true

fileFormats

Specifies the accepted file formats for upload.

.PDF, .JPEG, .PNG

maximumFileSize

Sets the maximum file size limit in KB.

10000 (10MB)

Currently, the supported file formats are:

public enum FileFormat: String {
    case png
    case jpeg
    case pdf
}

Last updated

Logo

2023 © Caf. - All rights reserved