ZegoLiveAudioRoomBottomMenuBarConfig class
Configuration options for the bottom menu bar (toolbar). You can set the properties of this class through the ZegoUIKitPrebuiltLiveAudioRoomConfig.bottomMenuBar attribute.
Constructors
-
ZegoLiveAudioRoomBottomMenuBarConfig({bool visible = true, bool showInRoomMessageButton = true, List<
ZegoLiveAudioRoomMenuBarButtonName> hostButtons = const [ZegoLiveAudioRoomMenuBarButtonName.soundEffectButton, ZegoLiveAudioRoomMenuBarButtonName.toggleMicrophoneButton, ZegoLiveAudioRoomMenuBarButtonName.showMemberListButton, ZegoLiveAudioRoomMenuBarButtonName.closeSeatButton], List<ZegoLiveAudioRoomMenuBarButtonName> speakerButtons = const [ZegoLiveAudioRoomMenuBarButtonName.soundEffectButton, ZegoLiveAudioRoomMenuBarButtonName.toggleMicrophoneButton, ZegoLiveAudioRoomMenuBarButtonName.showMemberListButton], List<ZegoLiveAudioRoomMenuBarButtonName> audienceButtons = const [ZegoLiveAudioRoomMenuBarButtonName.showMemberListButton, ZegoLiveAudioRoomMenuBarButtonName.applyToTakeSeatButton], List<Widget> hostExtendButtons = const [], List<Widget> speakerExtendButtons = const [], List<Widget> audienceExtendButtons = const [], int maxCount = 5})
Properties
-
audienceButtons
↔ List<
ZegoLiveAudioRoomMenuBarButtonName> -
The list of predefined buttons to be displayed when the user role is set to audience.
getter/setter pair
-
audienceExtendButtons
↔ List<
Widget> -
The list of custom buttons to be displayed when the user role is set to audience.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hostButtons
↔ List<
ZegoLiveAudioRoomMenuBarButtonName> -
The list of predefined buttons to be displayed when the user role is set to host.
getter/setter pair
-
hostExtendButtons
↔ List<
Widget> -
The list of custom buttons to be displayed when the user role is set to host.
getter/setter pair
- maxCount ↔ int
-
Controls the maximum number of buttons (including predefined and custom buttons) to be displayed in the menu bar (toolbar).
When the number of buttons exceeds the
maxCount
limit, a "More" button will appear. Clicking on it will display a panel showing other buttons that cannot be displayed in the menu bar (toolbar).getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showInRoomMessageButton ↔ bool
-
When set to
true
, the button for sending messages will be displayed. If you want to disable text messaging in the live audio room, set it tofalse
.getter/setter pair -
speakerButtons
↔ List<
ZegoLiveAudioRoomMenuBarButtonName> -
The list of predefined buttons to be displayed when the user role is set to speaker.
getter/setter pair
-
speakerExtendButtons
↔ List<
Widget> -
The list of custom buttons to be displayed when the user role is set to speaker.
getter/setter pair
- visible ↔ bool
-
If set to
false
, the bottom bar will be hidden. The default value istrue
.getter/setter pair
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