resumeDownload method
Resume downloading. This interface is different from the start downloading interface. This interface will find the corresponding cache and reuse the previous cache to resume downloading, while the start downloading interface will start a brand new download. videoDownloadModel: Download constructor TXVodDownloadMediaInfo.
继续下载,与开始下载接口有区别,该接口会寻找对应的缓存,复用之前的缓存来续点下载, 而开始下载接口会启动一个全新的下载 videoDownloadModel: 下载构造体 TXVodDownloadMediaInfo
Implementation
Future<void> resumeDownload(TXVodDownloadMediaInfo mediaInfo) async {
await _api.resumeDownload(mediaInfo.toMsg());
}