SessionSettings class

SessionSettings holds all configuration options for a call session. Use SessionSettingsBuilder to create an instance.

This is the recommended class for configuring call sessions. CallSettings is deprecated and will be removed in a future version.

Properties

audioMode AudioMode
final
autoStartRecording bool
final
displayName String?
final
hashCode int
The hash code for this object.
no setterinherited
hideAudioModeButton bool
final
hideChangeLayoutButton bool
final
hideChatButton bool
final
hideControlPanel bool
final
hideHeaderPanel bool
final
hideLeaveSessionButton bool
final
hideParticipantListButton bool
final
hideRaiseHandButton bool
final
hideRecordingButton bool
final
hideScreenSharingButton bool
final
hideSessionTimer bool
final
hideShareInviteButton bool
final
hideSwitchCameraButton bool
final
hideToggleAudioButton bool
final
hideToggleVideoButton bool
final
idleTimeoutPeriod int
final
initialCameraFacing CameraFacing
final
isValid bool
Returns true if the settings are valid.
no setter
layout LayoutType
final
lowBandwidthMode bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startAudioMuted bool
final
startVideoPaused bool
final
title String?
final
type SessionType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Serializes SessionSettings to Map for platform channel communication.
toString() String
A string representation of this object.
inherited
validate() String?
Validates the SessionSettings configuration. Returns null if valid, or an error message if invalid.

Operators

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