uploadFiles
abstract suspend fun uploadFiles( fileDescriptors: List<RainbowFileDescriptor>, viewer: RainbowFileViewer? = null, resolution: Int? = HIGH_RESOLUTION): RainbowResult<List<RainbowFileDescriptor>>
Upload a list of files with a specific RainbowFileViewer
It is also possible to specify a maximum resolution for the images, by default, the maximum size of an image will be a square of side 2048 pixels with scale type = FIT_CENTER If the file descriptors are already uploaded and the viewer is specified, it is simply added to the viewer list
Return
RainbowResult> callback(onSuccess, onError)
Parameters
fileDescriptors
List<RainbowFileDescriptor> the files to upload
viewer
RainbowFileViewer an optional viewer, if none is specified, the files are uploaded to the personal storage space
resolution
Int an optional maximum size for the images