setEventHandler method
Sets the engine event handler.
After setting the engine event handler, you can listen for engine events and receive the statistics of the corresponding RtcEngine instance.
Parameter handler
The event handler.
Implementation
void setEventHandler(RtcEngineEventHandler handler) {
_handler = handler;
}