data class Download
(source)
Value type that represents a Download.
Download(url: String, fileName: String, contentType: String? = null, contentLength: Long? = null, userAgent: String? = null, destinationDirectory: String = Environment.DIRECTORY_DOWNLOADS)
Value type that represents a Download. |
val contentLength: Long?
The file size reported by the server. |
|
val contentType: String?
Content type (MIME type) to indicate the media type of the download. |
|
val destinationDirectory: String
The matching destination directory for this type of download. |
|
val fileName: String
A canonical filename for this download. |
|
val url: String
The full url to the content that should be downloaded. |
|
val userAgent: String?
The user agent to be used for the download. |