public static interface Downloader.ProgressListener
No guarantees are made about the thread or threads on which the listener is called, but it is guaranteed that listener methods will be called in a serial fashion (i.e. one at a time) and in the same order as events occurred.
| Modifier and Type | Method and Description |
|---|---|
void |
onDownloadProgress(Downloader downloader,
float downloadPercentage,
long downloadedBytes)
Called during the download.
|
void onDownloadProgress(Downloader downloader, float downloadPercentage, long downloadedBytes)
Downloader
implementation.downloader - The reporting instance.downloadPercentage - The download percentage. This value can be an estimation.downloadedBytes - Total number of downloaded bytes.Downloader.download(ProgressListener)