We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileDownloader.detect(apkUrl, new OnDetectBigUrlFileListener() { @OverRide public void onDetectNewDownloadFile(String url, String fileName, String saveDir, long fileSize) { // 如果有必要,可以改变文件名称fileName和下载保存的目录saveDir FileDownloader.createAndStart(url, savePath, saveFileName); } @OverRide public void onDetectUrlFileExist(String url) { // 继续下载,自动会断点续传(如果服务器无法支持断点续传将从头开始下载) FileDownloader.start(url); } @OverRide public void onDetectUrlFileFailed(String url, DetectBigUrlFileFailReason failReason) { // 探测一个网络文件失败了,具体查看failReason } });
这个好像也不起作用.....如何设置呢?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
FileDownloader.detect(apkUrl, new OnDetectBigUrlFileListener() {
@OverRide
public void onDetectNewDownloadFile(String url, String fileName, String saveDir, long fileSize) {
// 如果有必要,可以改变文件名称fileName和下载保存的目录saveDir
FileDownloader.createAndStart(url, savePath, saveFileName);
}
@OverRide
public void onDetectUrlFileExist(String url) {
// 继续下载,自动会断点续传(如果服务器无法支持断点续传将从头开始下载)
FileDownloader.start(url);
}
@OverRide
public void onDetectUrlFileFailed(String url, DetectBigUrlFileFailReason failReason) {
// 探测一个网络文件失败了,具体查看failReason
}
});
这个好像也不起作用.....如何设置呢?
The text was updated successfully, but these errors were encountered: