ZegoMenuBarButtonName enum
Predefined buttons that can be added to the top or bottom toolbar. By configuring these options, users can customize their own top menu bar or bottom toolbar. This enum type is used in ZegoUIKitPrebuiltCallConfig.bottomMenuBarConfig and ZegoUIKitPrebuiltCallConfig.topMenuBarConfig.
For example, if you don't want the minimize button, you can exclude the minimizingButton from ZegoBottomMenuBarConfig.buttons.
Values
- toggleCameraButton → const ZegoMenuBarButtonName
-
Button for controlling the camera switch.
- toggleMicrophoneButton → const ZegoMenuBarButtonName
-
Button for controlling the microphone switch.
- hangUpButton → const ZegoMenuBarButtonName
-
Button for hanging up the current call.
- switchCameraButton → const ZegoMenuBarButtonName
-
Button for switching between front and rear cameras.
- switchAudioOutputButton → const ZegoMenuBarButtonName
-
Button for switching audio output. You can switch to the speaker, or to Bluetooth, headphones, and earbuds.
- showMemberListButton → const ZegoMenuBarButtonName
-
Button for controlling the visibility of the member list.
- toggleScreenSharingButton → const ZegoMenuBarButtonName
-
Button for toggling screen sharing.
- minimizingButton → const ZegoMenuBarButtonName
-
Button for minimizing the current ZegoUIKitPrebuiltCall widget within the app. When clicked, the ZegoUIKitPrebuiltCall widget will shrink into a small draggable widget within the app.
If you need to nest some widgets in ZegoUIKitPrebuiltCall, please use
foreground
nesting, otherwise these widgets will be lost when you minimize and restore the ZegoUIKitPrebuiltCall - beautyEffectButton → const ZegoMenuBarButtonName
-
Button for controlling the display or hiding of the beauty effect adjustment panel.
- chatButton → const ZegoMenuBarButtonName
-
Button to open/hide the chat UI.
Properties
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
Constants
-
values
→ const List<
ZegoMenuBarButtonName> - A constant List of the values in this enum, in order of their declaration.