pcloud-sdk-java
java-core
/
com.pcloud.sdk
/
Callback
Callback
interface
Callback
<
T
>
Content copied to clipboard
A Callback listener used when making asynchronous calls to the pCloud API.
Functions
Parameters
See also
See also
com.pcloud.sdk.Call
Parameters
<T>
the type parameter
Functions
on
Failure
Link copied to clipboard
abstract
fun
onFailure
(
call
:
Call
<
T
>
,
t
:
Throwable
)
Content copied to clipboard
Called on failed operation
on
Response
Link copied to clipboard
abstract
fun
onResponse
(
call
:
Call
<
T
>
,
response
:
T
)
Content copied to clipboard
Called on a successful operation