UploadResult

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.

Constructors

Link copied to clipboard
constructor(uploadedMediaIds: Set<Long>, notUploadedMediaIds: Set<Long>, interruptedUploadFactors: Set<UploadFactor>)

Properties

Link copied to clipboard

A set of factors due to which the upload was interrupted. Loading is considered aborted if the set contains elements.

Link copied to clipboard

List of media ID files that were not uploaded or the upload failed.

Link copied to clipboard

List of ID media files that were successfully uploaded.