userJoined property

UidWithElapsedCallback? userJoined
getter/setter pair

Occurs when a remote user (Communication) or a broadcaster (ChannelProfile.LiveBroadcasting) joins the channel.

  • ChannelProfile.Communication profile: This callback notifies the app when another user joins the channel. If other users are already in the channel, the SDK also reports to the app on the existing users.
  • ChannelProfile.LiveBroadcasting profile: This callback notifies the app when the host joins the channel. If other hosts are already in the channel, the SDK also reports to the app on the existing hosts. We recommend having at most 17 hosts in a channel.

Note

  • In the ChannelProfile.LiveBroadcasting profile: -- The host receives this callback when another host joins the channel. -- The audience in the channel receives this callback when a new host joins the channel. -- When a web app joins the channel, this callback is triggered as long as the web app publishes streams.

The UidWithElapsedCallback typedef includes the following parameters:

Implementation

UidWithElapsedCallback? userJoined;