Package io.rong.imlib
Interface IRongCoreCallback.OperationCallbackEx
-
- All Implemented Interfaces:
public interface IRongCoreCallback.OperationCallbackEx<T>
-
-
Method Summary
Modifier and Type Method Description abstract voidonSuccess()Called when successful. abstract voidonError(IRongCoreEnum.CoreErrorCode errorCode, T errorData)Called when the operation fails. voidonCallback()voidonFail(int code, T errorData)voidonFail(IRongCoreEnum.CoreErrorCode code, T errorData)-
-
Method Detail
-
onSuccess
abstract void onSuccess()
Called when successful.
-
onError
abstract void onError(IRongCoreEnum.CoreErrorCode errorCode, T errorData)
Called when the operation fails.
- Parameters:
errorCode- The error code indicating the reason for failure.errorData- Additional information associated with the error code, whose type is specified by the generic parameter of the interface.
-
onCallback
void onCallback()
-
onFail
void onFail(IRongCoreEnum.CoreErrorCode code, T errorData)
-
-
-
-