Expand description
What a download tells the app, and what each report writes into the state it bound.
Structsยง
- Progress
- The bytes received so far, of
totalwhen the server said, atspeedbytes a second.
Enumsยง
- Report
- How far a download has got, sent to the UI thread.
- Written
- A value a report writes: a whole number or text, as its field holds.
Constantsยง
- CANCELLED ๐
- What
statusshows once code cancels the download. - DONE_
PERCENT ๐ - DOWNLOADING ๐
- What
statusshows from the click until the download finishes. - PAUSED ๐
- What
statusshows while the download is paused. - RETRYING ๐
- What
statusshows while the download waits to try a failed connection again.
Functionsยง
- percent ๐
- The whole percentage
receivedis oftotal. - saturating_
int ๐ - A byte count as an
int; no file comes near the largest one.