Net
/
com.drake.net.request
/
BaseRequest
/
setDownloadFileNameConflict
set
Download
File
Name
Conflict
fun
setDownloadFileNameConflict
(enabled:
Boolean
= true)
Content copied to clipboard
下载文件路径存在同名文件时是创建新文件(添加序号)还是覆盖 重命名规则是: $文件名_($序号).$后缀, 例如
file_name(1).apk