Builder

class Builder

Properties

Link copied to clipboard

The file types that are allowed to be uploaded by the file uploader. Provide this information in an array of strings specifying the valid file extensions.

Link copied to clipboard

The access level to assign to the uploaded files in the Amazon S3 bucket where they are stored. The valid values for this property are private, protected, or public. For detailed information about the permissions associated with each access level, see File access levels in the Amplify documentation.

Link copied to clipboard

Allows the file upload operation to be paused and resumed. The default value is false.

Link copied to clipboard

Specifies the maximum number of files that can be selected to upload. The default value is an unlimited number of files.

Link copied to clipboard
var maxSize: Int?

The maximum file size in bytes that the file uploader will accept. The default value is an unlimited file size.

Link copied to clipboard

Specifies whether to display or hide the image preview after selecting a file for upload. The default value is true to display the image preview.