onJoinChannelSuccess property

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

Callback when successfully joined a channel.

This callback indicates that the client has successfully joined the specified channel.

  • connection Connection information. See RtcConnection.
  • elapsed Time elapsed (ms) from calling joinChannel until this event occurs.

Implementation

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