GetDownloadFileProgress
# 获取下载进度
DownloadFileManagement.shared.downloadProgress(paths:info)
1
参数名 | 类型 | 参数说明 |
---|---|---|
paths | [字典数组] | 包含内入如下 |
downloadUrl | String | 下载地址 |
path | String | 本地保存路径 |
返回值:当前下载进度(json数组 {url:"xxxxxx",progress:"xxxxxx"})
DownloadFileManagement.shared.downloadProgress(paths:info)
参数名 | 类型 | 参数说明 |
---|---|---|
paths | [字典数组] | 包含内入如下 |
downloadUrl | String | 下载地址 |
path | String | 本地保存路径 |
返回值:当前下载进度(json数组 {url:"xxxxxx",progress:"xxxxxx"})