registerListener abstract method

void registerListener(
  1. TRTCCloudListener func
)

Add TRTC event callback

You can use TRTCCloudListener to get various event notifications from the SDK, such as error codes, warning codes, and audio/video status parameters.

Implementation

void registerListener(TRTCCloudListener func);