hyphenate_SDK3.0  3.8.5
hyphenatejavaIMSDK
Public Member Functions | List of all members
com.hyphenate.EMCallBack Interface Reference

Inherited by com.hyphenate.chat.EMMessage.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 EMValueCallBack

Member Function Documentation

void com.hyphenate.EMCallBack.onError ( int  code,
String  error 
)

Callback function is called when an error occurs, see EMError

Parameters
codeerror code
errorcontain description of error
void com.hyphenate.EMCallBack.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 com.hyphenate.EMCallBack.onSuccess ( )

Callback function is executed on success


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