RequestCallback

interface RequestCallback<T>

Interface for callbacks to handle result of request. Used in all authentication Strivacity APIs.

Parameters

T

the type of result for successful request.

Functions

Link copied to clipboard
abstract fun onError(t: Throwable)

Executed if the request was failed.

Link copied to clipboard
abstract fun onRequestCompleted(t: T)

Executed if the request was successful.