visible property
(bool Function(ZegoUIKitUser localUser, ZegoLiveStreamingRole localRole, ZegoUIKitUser targetUser, ZegoLiveStreamingRole targetUserRole)?)
visible
getter/setter pair
show target user's audio video view or not return false if you don't want to show target user's audio video view.
when the stream list changes (specifically, when the co-hosts change), it will dynamically read this configuration to determine whether to show the target user view.
Implementation
bool Function(
ZegoUIKitUser localUser,
ZegoLiveStreamingRole localRole,
ZegoUIKitUser targetUser,
ZegoLiveStreamingRole targetUserRole,
)? visible;