SubscribeEventCallback

Callback interface for handling subscription events.

This interface defines callback methods for successful and failed subscription operations.

Since

5.8.0

Functions

Link copied to clipboard
public void onError(IRongCoreEnum.CoreErrorCode errorCode, T errorData)
Called when the operation fails.
@Deprecated()
public abstract void onError(int errorCode, T errorData)

Inherited functions

Link copied to clipboard
public void onCallback()
Link copied to clipboard
public void onFail(IRongCoreEnum.CoreErrorCode code, T errorData)
public void onFail(int code, T errorData)
Link copied to clipboard
public abstract void onSuccess()
Called when successful.