Skip to content
New issue

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

请问有没有同时删除[已经下载完成或下载中]的记录及文件的接口 #51

Closed
wanghc0 opened this issue May 1, 2018 · 1 comment
Labels

Comments

@wanghc0
Copy link

wanghc0 commented May 1, 2018

v1.0.2
目前我是通过如下方式操作的,不知道有没有更方便的方法。

BreakpointInfo info = StatusUtil.getCurrentInfo(table.getMp4_url(), table.getParent_path(), table.getFilename());
OkDownload.with().breakpointStore().remove(info.getId());
FileUtils.deleteFile(info.getFile());
@Jacksgong
Copy link
Collaborator

可以直接通过id移除,参考这里: #30 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants