DownloadObjects
Types
Link copied to clipboard
data class CreateNotificationMetadata(val type: VideoDownloadManager.DownloadType, val bytesDownloaded: Long, val bytesTotal: Long, val hlsProgress: Long? = null, val hlsTotal: Long? = null, val bytesPerSecond: Long)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class DownloadHeaderCached(val apiName: String, val url: String, val type: TvType, val name: String, val poster: String?, val cacheTime: Long, val id: Int) : DownloadObjects.DownloadCached
What to display to the user for a downloaded show/movie. Includes info such as name, poster and url
Link copied to clipboard
data class DownloadItem(val source: String?, val folder: String?, val ep: DownloadObjects.DownloadEpisodeMetadata, val links: List<ExtractorLink>)
Link copied to clipboard
data class DownloadQueueItem(val episode: ResultEpisode, val isMovie: Boolean, val resultName: String, val resultType: TvType, val resultPoster: String?, val apiName: String, val resultId: Int, val resultUrl: String, val links: List<ExtractorLink>? = null, val subs: List<SubtitleData>? = null)
General data about the episode and show to start a download from.
Link copied to clipboard
data class DownloadQueueWrapper(val resumePackage: DownloadObjects.DownloadResumePackage?, val downloadItem: DownloadObjects.DownloadQueueItem?)
An item can either be something to resume or something new to start
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
bytes have the size end-start where the byte range is [start,end) note that ByteArray is a pointer and therefore cant be stored without cloning it
Link copied to clipboard
Link copied to clipboard