RevueSDK · Swift reference Guides

Instance Property

delegates

細粒度訂閱此 Participant 的事件

let delegates: MulticastDelegate<any ParticipantDelegate>

Discussion

參與者事件兩層同步收到:同一事件會同時通知這裡(ParticipantDelegate)與 Room.shared.delegates(RoomDelegate 的對應方法)。例外:說話狀態在這裡是 didUpdateIsSpeaking,RoomDelegate 改收整份名單 didUpdateSpeakingParticipants。 會跳出提示的事件(收到靜音請求、收到訊息)只監聽其中一層,兩層都接會提示兩次。