UploaderStatus
data class UploaderStatus(val nonCriticalFactors: Set<UploadFactor>, val criticalFactors: Set<UploadFactor>, val activeWorkerCount: Int, val inQueuePhotoCount: Int, val inQueueVideoCount: Int, val inUploadMediaCount: Int, val uploadedMediaCount: Int) : Parcelable
A data model describing the uploader status.
Constructors
Link copied to clipboard
constructor(nonCriticalFactors: Set<UploadFactor>, criticalFactors: Set<UploadFactor>, activeWorkerCount: Int, inQueuePhotoCount: Int, inQueueVideoCount: Int, inUploadMediaCount: Int, uploadedMediaCount: Int)
Properties
Link copied to clipboard
The number of worker that are currently active.
Link copied to clipboard
Returns true if there is at least one media file in the upload queue.
Link copied to clipboard
List of factors why upload is inactive. The uploader is active if the set is empty.
Link copied to clipboard
Returns the total number of media files in the upload queue.
Link copied to clipboard
The number of photos that are in the queue for uploading.
Link copied to clipboard
The number of videos that are in the queue for uploading.
Link copied to clipboard
The number of media that are currently being uploaded.
Link copied to clipboard
Returns true if uploader is active.
Link copied to clipboard
Returns true if the upload queue is empty.
Link copied to clipboard
Set of non critical upload factors.
Link copied to clipboard
The number of media that are already uploaded.