DownloadStatus
data class DownloadStatus(val nonCriticalFactors: Set<DownloadFactor>, val criticalFactors: Set<DownloadFactor>, val activeWorkerCount: Int, val inQueueFilesCount: Int, val inDownloadFilesCount: Int, val downloadedFilesCount: Int) : Parcelable
A data model describing the downloader status.
Constructors
Link copied to clipboard
constructor(nonCriticalFactors: Set<DownloadFactor>, criticalFactors: Set<DownloadFactor>, activeWorkerCount: Int, inQueueFilesCount: Int, inDownloadFilesCount: Int, downloadedFilesCount: Int)
Properties
Link copied to clipboard
The number of worker that are currently active.
Link copied to clipboard
List of factors why download is inactive. The downloader is active if the set is empty.
Link copied to clipboard
The number of files that are already downloaded.
Link copied to clipboard
The number of files that are currently being downloaded.
Link copied to clipboard
The number of files that are in the queue for downloading.
Link copied to clipboard
Set of non critical download factors.