ExtractCallback
The Extract Callback interface is used to provide completion behavior when using the asynchronous LiveUpdateManager.extractUpdate() method.
Methods
onComplete
static
Called when the LiveUpdateManager.extractUpdate() method has finished.
Usage
- Kotlin
- Java
// Async extract call
LiveUpdateManager.extractUpdate("appId", zipFile, object : ExtractCallback {
override fun onComplete(result: File?) {
println(response?.path)
}
})
// Async extract call
LiveUpdateManager.extractUpdate(getContext(), zipFile, extractedFile -> {
// Do something with file
});
Parameters
Name | Type | Description |
---|---|---|
file | File | File object pointing to the path of the extracted files. |