onRemoteLiveRoleSwitched property

dynamic Function(String roomId, String userId, RCRTCRole role)? onRemoteLiveRoleSwitched
getter/setter pair

ZH

远端用户身份切换回调 @param roomId 房间号 @param userId 用户id @param role 用户角色

EN

Remote user role change callback @param roomId Room ID @param userId User ID @param role User role

Implementation

Function(String roomId, String userId, RCRTCRole role)?
onRemoteLiveRoleSwitched;