STWExternalSystemCallback

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

This is a callback to handle events related to requests for external system.

Parameters

<T>

Error class

Functions

Link copied to clipboard
abstract fun onSuccess(@Nullable data: String)
Called when request successfully sent to external system

Inherited functions

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

Inheritors

Link copied to clipboard