joinChannelSuccess property
UidWithElapsedAndChannelCallback?
joinChannelSuccess
getter/setter pair
Occurs when the local user joins a specified channel.
The channel name assignment is based on channelName specified in the RtcEngine.joinChannel method.
If the uid is not specified when RtcEngine.joinChannel is called, the server automatically assigns a uid.
The UidWithElapsedAndChannelCallback
typedef includes the following parameters:
- String
channel
: Channel name. - int
uid
: User ID. - int
elapsed
:Time elapsed (ms) from the user calling RtcEngine.joinChannel until this callback is triggered.
Implementation
UidWithElapsedAndChannelCallback? joinChannelSuccess;