Callback

interface Callback

Interface for callbacks.

Functions

Link copied to clipboard
abstract fun onError(error: Error)

Callback method which is invoked when the request failed.

Link copied to clipboard
abstract fun onSuccess()

Callback method which is invoked when the request succeeded.