unregisterEventHandler abstract method
Removes the specified callback events.
You can call this method too remove all added callback events.
eventHandler
Callback events to be removed. See RtcEngineEventHandler.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.
Implementation
void unregisterEventHandler(RtcEngineEventHandler eventHandler);