onMoreButtonPressed property

(void Function(ZegoUIKitUser user)?) onMoreButtonPressed
getter/setter pair

Callback method when the "More" button on the row corresponding to user in the member list is pressed. If you want to perform additional operations when the "More" button on the member list is clicked, such as viewing the profile of user.

Note that when you set this callback, the default behavior of popping up a menu when clicking the "More" button on the member list will be overridden, and you need to handle it yourself. You can refer to the usage of ZegoUIKitPrebuiltLiveAudioRoomController.

Implementation

void Function(ZegoUIKitUser user)? onMoreButtonPressed;