Skip to main content

DownloadCallback

The Check Callback interface is used to provide completion behavior when using the asynchronous LiveUpdateManager.downloadUpdate() method.

Methods

onComplete

static

Called when the LiveUpdateManager.downloadUpdate() method has finished.

Usage

// Async download call
LiveUpdateManager.downloadUpdate(applicationContext, "appId", "snapshotId", object : DownloadCallback {
override fun onComplete(result: DownloadResponse?) {
// Do something with result
}
})

Parameters

NameTypeDescription
responseDownloadResponseDownload response model containing result data if successful or error information if failed.