agora_chat_SDK  3.8.2
agorajavachatSDK
Public Member Functions | List of all members
io.agora.ValueCallBack< T > Interface Template Reference

Public Member Functions

void onSuccess (T value)
 
void onError (final int error, final String errorMsg)
 

Detailed Description

Callback with return value Callback without return value, see CallBack

Parameters
<T>value Return type

Member Function Documentation

void io.agora.ValueCallBack< T >.onError ( final int  error,
final String  errorMsg 
)

Callback when request fails

Parameters
errorError code, see Error
errorMsgError description
void io.agora.ValueCallBack< T >.onSuccess ( value)

Callback on request successfully

Parameters
valueT class passed by app

The documentation for this interface was generated from the following file: