onSelfJoined property
void Function(String channelId, bool result, int reason, UserInfo userInfo)?
onSelfJoined
getter/setter pair
加入频道结果回调。
channelId频道标识符result加入频道是否成功- true:成功
- false:失败
reason加入失败原因,当 result 为 false 时该值有效。失败原因参见:JRTCErrorCode 错误码userInfo成员信息,详细定义见UserInfo
Implementation
static void Function(
String channelId, bool result, int reason, UserInfo userInfo)?
onSelfJoined;