onJoinChannelSuccess property

void Function(RtcConnection connection, int elapsed)? onJoinChannelSuccess
final

成功加入频道回调。

该回调方法表示该客户端成功加入了指定的频道。

  • connection Connection 信息。详见 RtcConnection 。
  • elapsed 从本地调用 joinChannel 开始到发生此事件过去的时间(毫秒)。

Implementation

final void Function(RtcConnection connection, int elapsed)?
    onJoinChannelSuccess;