Callback

interface Callback<T>

A Callback listener used when making asynchronous calls to the pCloud API.

See also

Parameters

<T>

the type parameter

Functions

onFailure
Link copied to clipboard
abstract fun onFailure(call: Call<T>, t: Throwable)
Called on failed operation
onResponse
Link copied to clipboard
abstract fun onResponse(call: Call<T>, response: T)
Called on a successful operation