LazyStreamDownloadData

data class LazyStreamDownloadData(url: String, headers: Map<String, String>, referer: String, chuckStartByte: LongArray, val totalLength: Long?, val downloadLength: Long?, val chuckSize: Long, val bufferSize: Int)

Constructors

Link copied to clipboard
constructor(url: String, headers: Map<String, String>, referer: String, chuckStartByte: LongArray, totalLength: Long?, downloadLength: Long?, chuckSize: Long, bufferSize: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val size: Int
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun resolveSafe(index: Int, retries: Int = 3, callback: suspend CoroutineScope.(VideoDownloadManager.LazyStreamDownloadResponse) -> Unit): Boolean

retries the resolve n times and returns true if successful