MediaItemDownloadProgress
data class MediaItemDownloadProgress(val totalNumberOfItems: Int, val alreadyDownloadedItems: Int, val isFinishedWithCleanup: Boolean)
Contains the progress information exposed by the SOCommMediaClient.downloadMedia function.
Parameters
totalNumberOfItems
The number of total items that are going to be downloaded
alreadyDownloadedItems
The number of items that are already completely downloaded
isFinishedWithCleanup
Whether the download clean up tasks are done (has an effect on progress).
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the progress between 0 and 100 of the download in general. Note that this is currently not exactly a calculation of alreadyDownloadedItems divided by totalNumberOfItems, as finishing the download takes up some time, too, and this has been included in this progress field.
Link copied to clipboard