download Media File
public abstract void downloadMediaFile(String fileUniqueId, String fileUrl, String fileName, String path, IRongCallback.IDownloadMediaFileCallback callback)
Download a file.
Supports resumable downloads. To pause the download, use pauseDownloadMediaFile.
Parameters
file Unique Id
Unique identifier of the file, corresponding to the first parameter of pauseDownloadMediaFile
file Url
URL of the file to download
file Name
Name of the file
path
Directory to save the downloaded file. For targetVersion 29, due to access restrictions, it is recommended to use context.getExternalFilesDir() to save to a private directory
callback
Callback for file download