CallSettings class

CallSettings class to configure call parameters.

@deprecated Use SessionSettings instead. This class is deprecated and will be removed in a future version.

Requirements: 5.1, 5.2, 5.3, 5.4

Annotations
  • @Deprecated('Use SessionSettings instead. This class will be removed in a future version.')

Constructors

CallSettings({required String title, required bool startVideoPaused, required bool startAudioMuted, required LayoutType layoutType, required int idleTimeoutPeriod, required AudioMode audioMode, required bool isAudioModeSelected, required CameraFacing defaultCameraFacing, required Features features, required UICustomization uiCustomization, CometChatCallsEventsListener? listener})

Properties

audioMode AudioMode
final
defaultCameraFacing CameraFacing
final
features Features
final
hashCode int
The hash code for this object.
no setterinherited
idleTimeoutPeriod int
final
isAudioModeSelected bool
final
isValid bool
Returns true if the settings are valid.
no setter
layoutType LayoutType
final
listener CometChatCallsEventsListener?
The v4 event listener set via CallSettingsBuilder.listener.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startAudioMuted bool
final
startVideoPaused bool
final
title String
final
uiCustomization UICustomization
final

Methods

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

Operators

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