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

Is their any way to know the download is paused using this lib #15

Open
kodekarim opened this issue Jun 4, 2020 · 0 comments
Open

Is their any way to know the download is paused using this lib #15

kodekarim opened this issue Jun 4, 2020 · 0 comments

Comments

@kodekarim
Copy link

        if downloadManager.isDownloadInProgress(forKey: _downloadKey) {
            downloadManager.pause(forUniqueKey: _downloadKey)
        }else {
            downloadManager.resume(forUniqueKey: _downloadKey)
        }

I am using this to toggle pause and resume but resume doesn't work as it always say it in progress, is their any way to check if the download url is paused

Thanks for an amazing lib

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

No branches or pull requests

1 participant