onHostAvatarClicked property

(void Function(ZegoUIKitUser host)?) onHostAvatarClicked
getter/setter pair

You can listen to the event of clicking on the host information in the top left corner. For example, if you want to display a popup or dialog with host information after it is clicked.

onHostAvatarClicked = (host) {
  // do your own things.

}

Implementation

void Function(ZegoUIKitUser host)? onHostAvatarClicked;