Download Status
class DownloadStatus
Download status information corresponding to a media download.
Constructors
Link copied to clipboard
open fun DownloadStatus(@NonNull mediaInfo: MediaInfo, @Nullable localStorageFolder: String, status: Int, reason: Int, @Nullable reasonDescription: String, lastModifiedTime: Long, totalSizeBytes: Long, bytesDownloaded: Long, downloadPercent: Int, @Nullable posterPath: String, isSavedOffline: Boolean, @Nullable displayTitle: String, @Nullable displayDescription: String)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun createForPending(@NonNull mediaInfo: MediaInfo, localStorageFolder: String, lastModifiedTime: Long, totalSizeBytes: Long, isSavedOffline: Boolean): DownloadStatus
Link copied to clipboard
Link copied to clipboard
Converts Download to DownloadStatus
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard