onJoinChannelSuccess property

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

Occurs when a user joins a channel. This callback notifies the application that a user joins a specified channel.

  • connection The connection information. See RtcConnection .
  • elapsed The time elapsed (ms) from the local user calling joinChannel 2/2 until the SDK triggers this callback.

Implementation

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