download File
abstract fun downloadFile(fileDescriptor: RainbowFileDescriptor, listener: RainbowListener<RainbowFileDescriptor, Unit>? = null)
Download the file from the server. This method uses the Android DownloadManager
See cancelDownload to cancel the download
Parameters
file Descriptor
RainbowFileDescriptor associated with the file to download, the fileDescriptor keeps track of the download progression with the method getPercentProgression()
listener
RainbowListener