onError

public abstract void onError(RongIMClient.ConnectionErrorCode e)

Callback triggered when an error occurs.

Parameters

e

Callback triggered when connection establishment fails. This callback indicates that the SDK cannot continue reconnection attempts. [e: Error code for connection failure]