ZegoLiveAudioRoomDialogInfo class

Dialog information. Used to control whether certain features display a dialog, such as whether to show a confirmation dialog before leaving the audio chat room. This class is used for setting some text in ZegoUIKitPrebuiltLiveAudioRoomInnerText and ZegoUIKitPrebuiltLiveAudioRoomConfig.confirmDialogInfo.

Constructors

ZegoLiveAudioRoomDialogInfo({required String title, required String message, String cancelButtonName = 'Cancel', String confirmButtonName = 'OK'})

Properties

cancelButtonName String
Text content on the cancel button. Default value is 'Cancel'.
getter/setter pair
confirmButtonName String
Text content on the confirm button. Default value is 'OK'.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String
Dialog text content
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Dialog title
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited