onUserAudioStateChanged property
OnUserAudioStateChanged
onUserAudioStateChanged
getter/setter pairinherited
4.5 User Audio State Changed Event
userId
User ID
hasAudio
Whether there is an audio stream
reason
Reason for Audio Stream Change - Refer to TUIChangeReason Enumeration Definition for details.
Implementation
OnUserAudioStateChanged onUserAudioStateChanged =
(String userId, bool hasAudio, TUIChangeReason reason) {};