Download Callback
interface 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
}
})
Content copied to clipboard
Example usage (Java):
// Async download call
LiveUpdateManager.downloadUpdate(getContext(), "appId", "snapshotId", downloadResponse -> {
// Do something with response
});
Content copied to clipboard