joinChannelSuccess property

UidWithElapsedAndChannelCallback? joinChannelSuccess
getter/setter pair

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

Param uid User ID. If you have specified a user ID in joinChannel , the ID will be returned here; otherwise, the SDK returns an ID automatically assigned by the Agora server.

Param elapsed The time elapsed (in milliseconds) from the local user calling joinChannel till this event.

Implementation

UidWithElapsedAndChannelCallback? joinChannelSuccess;