Package-level declarations

Media uploader data schemas package.

Types

Link copied to clipboard
data class UploaderConfiguration(val isAutoUploadEnabled: Boolean, val isAutoUploadVideoEnabled: Boolean, val isCellularUploadEnabled: Boolean, val isRoamingUploadEnabled: Boolean, val videoUploadPriority: Float, val minBatteryLevel: Float, val maxRetryCount: Int) : Parcelable

A data model describing the uploader configuration.

Link copied to clipboard
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.

Link copied to clipboard

A data model represented the uploader types.

Link copied to clipboard

A set of factors representing the state of the uploader and the reasons why the upload might be stopped.

Link copied to clipboard
data class UploadResult(val uploadedMediaIds: Set<Long>, val notUploadedMediaIds: Set<Long>, val interruptedUploadFactors: Set<UploadFactor>)

A data model describing the result of loading a limited set of media files.

Link copied to clipboard

During the upload process, the media file may change its upload state. This state can determine whether the file will be re-uploaded by a particular uploader, whether it is uploaded or is in a queue for upload.

Link copied to clipboard
data class UploadStatus(val autoUploaderStatus: UploaderStatus, val forcedUploaderStatus: UploaderStatus, val familyUploaderStatus: UploaderStatus) : Parcelable