DownloadRequest

data class DownloadRequest(val url: String, val destinationPath: String, val headers: Map<String, String>) : Parcelable

Download request class used in Downloader.download method

Constructors

Link copied to clipboard
constructor(url: String, destinationPath: String, headers: Map<String, String>)

Properties

Link copied to clipboard

path on local filesystem to store downloaded file

Link copied to clipboard

header -> value map of HTTP headers

Link copied to clipboard
val url: String

URL of requested file

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)