download

suspend fun download(location: String): ReleaseBinary?

Downloads the release binary from the given location.

Return

A ReleaseBinary object containing the name of the downloaded file and its content, or null if the received data has no content.

Parameters

location

The URL of the release binary. It can be obtained using getLatestRelease from ReleaseInformation.UpdateAvailable.


fun download(location: String, callback: DownloadCallback)