setEventHandler method

void setEventHandler(
  1. RtcGroupEventHandler handler
)

Set the RtcGroupManager event handler.

After setting the RtcGroupManager event handler, you can listen for RtcGroupManager events and receive the statistics of the corresponding RtcGroupManager instance.

Parameter handler The event handler.

Implementation

void setEventHandler(RtcGroupEventHandler handler) {
  _handler = handler;
}