ZegoLiveStreamingPreviewConfig class
Used to configure the parameters related to the preview of the live streaming.
This class is used for the ZegoUIKitPrebuiltLiveStreamingConfig.preview property.
Constructors
- ZegoLiveStreamingPreviewConfig({bool showPreviewForHost = true, Widget? pageBackIcon, Widget? beautyEffectIcon, Widget? switchCameraIcon, ZegoLiveStreamingStartLiveButtonBuilder? startLiveButtonBuilder, ZegoLiveStreamingPreviewTopBarConfig? topBar, ZegoLiveStreamingPreviewBottomBarConfig? bottomBar})
Properties
- beautyEffectIcon ↔ Widget?
-
The icon for the beauty effect button.
getter/setter pair
- bottomBar ↔ ZegoLiveStreamingPreviewBottomBarConfig
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- pageBackIcon ↔ Widget?
-
The icon for the page back button.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showPreviewForHost ↔ bool
-
Whether to show the preview page for the host. The default value is true.
getter/setter pair
- startLiveButtonBuilder ↔ ZegoLiveStreamingStartLiveButtonBuilder?
-
Customize your start call button
you MUST call startLive function on your custom button
getter/setter pair
- switchCameraIcon ↔ Widget?
-
The icon for the switch camera button.
getter/setter pair
- topBar ↔ ZegoLiveStreamingPreviewTopBarConfig
-
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