onUserVideoStateChanged property

OnUserVideoStateChanged onUserVideoStateChanged
getter/setter pair

4.4 User Video State Changed Event

userId User ID streamType Video Stream Type hasVideo Whether there is a video stream reason Reason for Video Stream Change - Refer to TUIChangeReason Enumeration Definition for details.

Implementation

OnUserVideoStateChanged onUserVideoStateChanged = (String userId,
    TUIVideoStreamType streamType, bool hasVideo, TUIChangeReason reason) {};