ZegoCallMenuBarButtonName 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 ZegoCallBottomMenuBarConfig.buttons.
Constructors
- ZegoCallMenuBarButtonName()
-
const
Values
- toggleCameraButton → const ZegoCallMenuBarButtonName
-
Button for controlling the camera switch.
- toggleMicrophoneButton → const ZegoCallMenuBarButtonName
-
Button for controlling the microphone switch.
- hangUpButton → const ZegoCallMenuBarButtonName
-
Button for hanging up the current call.
- switchCameraButton → const ZegoCallMenuBarButtonName
-
Button for switching between front and rear cameras.
- switchAudioOutputButton → const ZegoCallMenuBarButtonName
-
Button for switching audio output. You can switch to the speaker, or to Bluetooth, headphones, and earbuds.
- showMemberListButton → const ZegoCallMenuBarButtonName
-
Button for controlling the visibility of the member list.
- toggleScreenSharingButton → const ZegoCallMenuBarButtonName
-
Button for toggling screen sharing.
- minimizingButton → const ZegoCallMenuBarButtonName
-
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 ZegoCallMenuBarButtonName
-
Button for controlling the display or hiding of the beauty effect adjustment panel.
- chatButton → const ZegoCallMenuBarButtonName
-
Button to open/hide the chat UI.
- soundEffectButton → const ZegoCallMenuBarButtonName
-
Button for controlling the display or hiding of the sound effect adjustment panel.
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<
ZegoCallMenuBarButtonName> - A constant List of the values in this enum, in order of their declaration.