upload

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.

Parameters

parentFileId

ID of the file where the files will be placed after it is uploaded.

Throws

Session is not active.

Increased the file limit in the queue.

The method returns control when all elements have been uploaded.