FileUploadConfig

@Immutable
data class FileUploadConfig(val allowedFileExtensions: List<String>, val allowedMimeTypes: List<String>, val blockedFileExtensions: List<String>, val blockedMimeTypes: List<String>, val sizeLimitInBytes: Long)

The configuration of file upload.

Parameters

allowedFileExtensions

Allowed mime types.

blockedFileExtensions

Blocked mime types.

blockedMimeTypes

Blocked mime types.

Constructors

Link copied to clipboard
constructor(allowedFileExtensions: List<String>, allowedMimeTypes: List<String>, blockedFileExtensions: List<String>, blockedMimeTypes: List<String>, sizeLimitInBytes: Long)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard