confirmDialogInfo property

ZegoLiveStreamingDialogInfo? confirmDialogInfo
getter/setter pair

Confirmation dialog information when leaving the live streaming.

If not set, clicking the exit button will directly exit the live streaming.

If set, a confirmation dialog will be displayed when clicking the exit button, and you will need to confirm the exit before actually exiting.

Sample Code:

 ..confirmDialogInfo = ZegoDialogInfo(
   title: 'Leave confirm',
   message: 'Do you want to end?',
   cancelButtonName: 'Cancel',
   confirmButtonName: 'Confirm',
 )

Implementation

ZegoLiveStreamingDialogInfo? confirmDialogInfo;