showScreenSharingViewInFullscreenMode method
This function is used to specify whether a certain user enters or exits full-screen mode during screen sharing.
You need to provide the user's ID userID
to determine which user to perform the operation on.
By using a boolean value isFullscreen
, you can specify whether the user enters or exits full-screen mode.
Implementation
void showScreenSharingViewInFullscreenMode(String userID, bool isFullscreen) {
_fullscreenUserNotifier.value =
isFullscreen ? ZegoUIKit().getUser(userID) : null;
}