setCustomRole abstract method

Future<bool> setCustomRole(
  1. int customRole,
  2. JCMediaChannelParticipant? participant
)

设置自定义角色

@note 该接口需要在自己加入会议成功后才能调用

customRole @ref CUSTOM_ROLE_NONE "自定义角色" participant JCMediaChannelParticipant 对象,传 null 表示自己

Implementation

Future<bool> setCustomRole(
    int customRole, JCMediaChannelParticipant? participant);