Package io.rong.imlib
Interface IRongCoreCallback.OperationCallbackEx
-
- All Implemented Interfaces:
public interface IRongCoreCallback.OperationCallbackEx<T>
-
-
Method Summary
Modifier and Type Method Description abstract void
onSuccess()
Called when successful. abstract void
onError(IRongCoreEnum.CoreErrorCode errorCode, T errorData)
Called when the operation fails. void
onCallback()
void
onFail(int code, T errorData)
void
onFail(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)
-
-
-
-