Description
The channel-level event callback interface. Inherit from it, override the callback methods, and register it with IRTCChannel::setEventHandler.Inheritance
NoneCallbacks
Callbacks are registered per channel: oneIRTCChannelEvent instance is bound to one IRTCChannel,
so none of the callbacks carry a channelId parameter (the channel-level callbacks on the old IRTCEngineEvent did).
You can bind the same instance to multiple channels; in that case you need to tell the channels apart yourself.
You must register it before IRTCChannel::join(); otherwise you don’t receive onJoinChannel—it’s called back before join() returns.
Join channel success callback
Note: callbacks are registered per channel (
IRTCChannel::setEventHandler), so channelId is no longer passed back. To tell channels apart, use IRTCChannel::getChannelId().