SessionSettingsBuilder class

Builder for SessionSettings. Provides a fluent API for configuring session options.

This is the recommended builder for new implementations. CallSettingsBuilder is deprecated and will be removed in a future version.

Constructors

SessionSettingsBuilder()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() SessionSettings
Builds the SessionSettings object.
enableAutoStartRecording(bool enabled) SessionSettingsBuilder
Enables or disables auto start recording.
enableLowBandwidthMode(bool enabled) SessionSettingsBuilder
Enables or disables low bandwidth mode.
hideAudioModeButton(bool hide) SessionSettingsBuilder
Hides or shows the audio mode button.
hideChangeLayoutButton(bool hidden) SessionSettingsBuilder
Hides or shows the change layout button.
hideChatButton(bool hidden) SessionSettingsBuilder
Hides or shows the chat button.
hideControlPanel(bool hidden) SessionSettingsBuilder
Hides or shows the control panel.
hideHeaderPanel(bool hidden) SessionSettingsBuilder
Hides or shows the header panel.
hideLeaveSessionButton(bool hidden) SessionSettingsBuilder
Hides or shows the leave session button.
hideParticipantListButton(bool hidden) SessionSettingsBuilder
Hides or shows the participant list button.
hideRaiseHandButton(bool hide) SessionSettingsBuilder
Hides or shows the raise hand button.
hideRecordingButton(bool hide) SessionSettingsBuilder
Hides or shows the recording button.
hideScreenSharingButton(bool hide) SessionSettingsBuilder
Hides or shows the screen sharing button.
hideSessionTimer(bool hidden) SessionSettingsBuilder
Hides or shows the session timer.
hideShareInviteButton(bool hide) SessionSettingsBuilder
Hides or shows the share invite button.
hideSwitchCameraButton(bool hide) SessionSettingsBuilder
Hides or shows the switch camera button.
hideToggleAudioButton(bool hidden) SessionSettingsBuilder
Hides or shows the toggle audio button.
hideToggleVideoButton(bool hidden) SessionSettingsBuilder
Hides or shows the toggle video button.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAudioMode(AudioMode audioMode) SessionSettingsBuilder
Sets the audio mode.
setDisplayName(String name) SessionSettingsBuilder
Sets the display name for the local user.
setIdleTimeoutPeriod(int timeoutSeconds) SessionSettingsBuilder
Sets the idle timeout period in seconds.
setInitialCameraFacing(CameraFacing cameraFacing) SessionSettingsBuilder
Sets the initial camera facing direction.
setLayout(LayoutType layoutType) SessionSettingsBuilder
Sets the layout type.
setTitle(String title) SessionSettingsBuilder
Sets the title for the session.
setType(SessionType type) SessionSettingsBuilder
Sets the session type (audio or video).
startAudioMuted(bool muted) SessionSettingsBuilder
Sets whether audio should start muted.
startVideoPaused(bool paused) SessionSettingsBuilder
Sets whether video should start paused.
toString() String
A string representation of this object.
inherited

Operators

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