Comments (2)
Hi
In singleDownloadStatus method you got a ReportStructure object that contain state property. As I mention in readme you can find your task state
- TaskState.INIT: task intruduce for library and gave you token back but it didn't started yet.
- TaskState.READY: download task data fetch from its URL and it's ready to start.
- TaskState.DOWNLOADING: download task in downloading process.
- TaskState.PAUSED: download task in puase state. If in middle of downloading process internet disconnected; task goes to puase state and you can start it later
- TaskState.DOWNLOAD_FINISHED: download task downloaded completely but their chunks did not rebuild.
- TaskState.END: after rebuild download task chunks, task goes to this state and notified developer with OnDownloadCompleted(long taskToken) interface
from android-download-manager-pro.
i found how to get states. i added getState method to ReportStructure class , and when i need to current state of downlaod, i just call it.
thank you
from android-download-manager-pro.
Related Issues (20)
- percent greater than 100% HOT 6
- Cursor object not always closed properly HOT 1
- how to add header for request download HOT 2
- how to resume a paused task? HOT 2
- Crash application when i try to pause when onStop trigger
- how to delete chuck file which is saving in sdcard folder HOT 1
- I removed this library
- Where can download library using gradle ?
- get queue progress
- unexpected end of stream error for large files HOT 2
- Is there anything like State download failed? HOT 3
- Stuck at OnDownloadStarted HOT 1
- Downloading stop on 200 percent check using following url :- https://dl.jatt.link/lq.jatt.link/cdn9/15c435395acc88f5ece743aa1a5641e6/jyszv/Guerrilla War-(Mr-Jatt.com).mp3 HOT 4
- java.lang.NullPointerException HOT 3
- ادامه دادن دانلود HOT 2
- Resuming the paused download HOT 1
- QueueDownloadInProgressException: queue download is already in progress HOT 1
- onDownloadFinished & onDownloadCompleted HOT 1
- Sample Application HOT 1
- Failed to download zip file and some times Videos file corrupted after download
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-download-manager-pro.