Package io.rong.imlib
Class RongIMClient.ResultCallback
-
- All Implemented Interfaces:
public abstract class RongIMClient.ResultCallback<T>泛型类,用于 API 中功能的回调处理。
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRongIMClient.ResultCallback.Result
-
Constructor Summary
Constructors Constructor Description RongIMClient.ResultCallback()
-
Method Summary
Modifier and Type Method Description abstract voidonSuccess(T t)成功时回调。 abstract voidonError(RongIMClient.ErrorCode e)错误时回调。 voidonFail(int errorCode)voidonFail(RongIMClient.ErrorCode errorCode)voidonCallback(T t)-
-
Method Detail
-
onError
abstract void onError(RongIMClient.ErrorCode e)
错误时回调。
- Parameters:
e- 错误代码。
-
onFail
void onFail(int errorCode)
-
onFail
void onFail(RongIMClient.ErrorCode errorCode)
-
onCallback
void onCallback(T t)
-
-
-
-