Package io.rong.imlib
Interface IRongCoreCallback.SubscribeEventCallback
-
- All Implemented Interfaces:
-
io.rong.imlib.IRongCoreCallback.OperationCallbackEx
public interface IRongCoreCallback.SubscribeEventCallback<T> implements IRongCoreCallback.OperationCallbackEx<T>
Callback interface for handling subscription events.
This interface defines callback methods for successful and failed subscription operations.
- Since:
5.8.0
-
-
Method Summary
Modifier and Type Method Description abstract void
onError(int errorCode, T errorData)
void
onError(IRongCoreEnum.CoreErrorCode errorCode, T errorData)
Called when the operation fails. -
-
Method Detail
-
onError
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.
-
-
-
-