leaveChannel property

RtcStatsCallback? leaveChannel
getter/setter pair

Occurs when a user leaves a channel. When a user leaves the channel by using the leaveChannel method, the SDK uses this callback to notify the app when the user leaves the channel. With this callback, the app gets the channel information, such as the call duration and quality statistics.

Param stats The statistics of the call, see RtcStats .

Implementation

RtcStatsCallback? leaveChannel;