DownloadResponse

data class DownloadResponse(var error: ErrorResponse?, var file: File?)

A class containing the success or failure response data from a download request.

Constructors

Link copied to clipboard
fun DownloadResponse(error: ErrorResponse?, file: File?)

Properties

Link copied to clipboard

contains error information if the response is considered a failure

Link copied to clipboard
var file: File?

contains a file path to the downloaded zip archive for the update if successful