unregisterEventHandler abstract method

void unregisterEventHandler(
  1. RtcEngineEventHandler eventHandler
)

Removes the specified callback event.

This method removes all previously added callback events.

  • eventHandler The callback event to be removed. See RtcEngineEventHandler.

Returns When the method call succeeds, there is no return value; when it fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions.

Implementation

void unregisterEventHandler(RtcEngineEventHandler eventHandler);