FileUploader

interface FileUploader

Properties

Link copied to clipboard

Uploader configuration, which is used to control its operation. You can control the uploader by passing the configuration object you want to the uploader.

Link copied to clipboard
abstract val status: StateFlow<UploaderStatus>

Functions

Link copied to clipboard
abstract fun cancelAllUploads()
Link copied to clipboard
abstract suspend fun cancelUploadById(nodeId: String)
Link copied to clipboard
abstract suspend fun retryAllUploads()
Link copied to clipboard
abstract suspend fun retryUpload(nodeId: String)
Link copied to clipboard
Link copied to clipboard
abstract suspend fun upload(uris: List<Uri>, parentFileId: String? = null, withCache: Boolean = false, deleteFileAfterComplete: Boolean = false)

Places files in the upload queue. The queue limit is 500 files.