setEventHandler method

void setEventHandler(
  1. RtcNetworkMgrHandler handler
)

Sets the network manager event handler.

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

Parameter handler The event handler.

Implementation

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