CheckCallback
The Check Callback interface is used to provide completion behavior when using the asynchronous LiveUpdateManager.checkForUpdate() method.
Methods
onComplete
static
Called when the LiveUpdateManager.checkForUpdate() method has finished.
Usage
- Kotlin
- Java
// Async check call
LiveUpdateManager.checkForUpdate(context, "appId", object : CheckCallback {
override fun onComplete(result: CheckResponse?) {
// Do something with the result
}
})
// Async check call
LiveUpdateManager.checkForUpdate(context, "appId", checkResponse -> {
// Do something with response
});
Parameters
Name | Type | Description |
---|---|---|
response | CheckResponse | Check response model containing result data if successful or error information if failed. |