Chat SDK for Android v1.2.1
agora java chat SDK
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)
 
default void onProgress (int progress, String status)
 

Detailed Description

The general callback interface.

For callbacks with a return value, see ValueCallBack.

Member Function Documentation

◆ onError()

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

Occurs when an error occurs, see Error.

Parameters
codeThe error code.
errorA description of the cause to the error.

◆ onProgress()

default void io.agora.CallBack.onProgress ( int  progress,
String  status 
)

Occurs when the progress updates.

Parameters
progressThe progress information.
statusA description of the progress. Might be an empty string "" or null if the SDK does not return the information.

◆ onSuccess()

void io.agora.CallBack.onSuccess ( )

Occurs when the method succeeds.


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