agora_chat_SDK  3.8.2
agorajavachatSDK
Public Member Functions | List of all members
io.agora.CallBack Interface Reference

Inherited by io.agora.chat.ChatMessage.EMCallbackHolder.

Public Member Functions

void onSuccess ()
 
void onError (int code, String error)
 
void onProgress (int progress, String status)
 

Detailed Description

The general callback interface Callback with return value, see ValueCallBack

Member Function Documentation

void io.agora.CallBack.onError ( int  code,
String  error 
)

Callback function is called when an error occurs, see Error

Parameters
codeerror code
errorcontain description of error
void io.agora.CallBack.onProgress ( int  progress,
String  status 
)

Callback function is executed when progress update

Parameters
progressprogress info
statusContain progress description. May be empty string "" or null
void io.agora.CallBack.onSuccess ( )

Callback function is executed on success


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