STWLoadProcessPreviousDataCallback

interface STWLoadProcessPreviousDataCallback<T : Error?> : STWCallback<T>

This callback is used to handle all events of load process previous data operation.

Functions

Link copied to clipboard
abstract fun onDataDownloaded()
Called when previous data has been downloaded.
Link copied to clipboard
abstract fun onLoaded(@NonNull widgetUUID: String, @NonNull jsonData: JSONObject)
Called when the load operation has been finished successfully

Inherited functions

Link copied to clipboard
abstract fun onError(@NonNull error: T)
Called when an error occurs following a request executed by the developer.