DownloadCallback

A callback used to access the results of the Live Update Download process.

Example usage (kotlin):

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

Example usage (Java):

// Async download call
LiveUpdateManager.downloadUpdate(getContext(), "appId", "snapshotId", downloadResponse -> {
// Do something with response
});

Functions

Link copied to clipboard
abstract fun onComplete(result: DownloadResponse?)

Called when the Download process is complete.