FileManagerAdapter

FileManagerAdapter is an interface that provides methods to interact with a file manager.

Functions

Link copied to clipboard
abstract fun confirmFile(fileId: String): Boolean

Confirms a file with the given file ID.

Link copied to clipboard
abstract fun getFile(fileId: String): FileData?

Retrieves the file data associated with the given file ID.

Link copied to clipboard
abstract fun save(data: ByteArray, fileName: String, contentType: String, fileId: String?, confirmed: Boolean): String

Saves the given data as a file with the specified properties.