generateArchiveFile

abstract suspend fun generateArchiveFile(archiveFileName: String, fileIdsList: List<String>): RainbowResult<RainbowFileDescriptor>

Use this method to request the creation of an archive (zip file) containing a list of files, passed as parameter. This archive will be added in the user's personal storage.

Return

RainbowResult callback (onSuccess and onError)

Parameters

archiveFileName

String the name you want your archive to have (including the extension)

fileIdsList

List the list ids of all the files to include in the archive