UploaderStatus

data class UploaderStatus(val factors: Set<UploadFactor>, val inactiveFactors: Set<UploadFactor>, val activeMediaCount: Int, val inQueuePhotoCount: Int, val inQueueVideoCount: Int) : Parcelable

A data model describing the uploader status.

Constructors

Link copied to clipboard
constructor(factors: Set<UploadFactor>, inactiveFactors: Set<UploadFactor>, activeMediaCount: Int, inQueuePhotoCount: Int, inQueueVideoCount: Int)

Properties

Link copied to clipboard

The number of media files that are currently uploading.

Link copied to clipboard

Returns true if there is at least one media file in the upload queue.

Link copied to clipboard

Set of upload factors.

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

Returns true if uploader is active.

Link copied to clipboard

Returns true if the upload queue is empty.