build method

CallSettings build()

Builds the CallSettings object. Requirements: 5.1

Implementation

CallSettings build() {
  return CallSettings(
    title: _title,
    startVideoPaused: _startVideoPaused,
    startAudioMuted: _startAudioMuted,
    layoutType: _layoutType,
    idleTimeoutPeriod: _idleTimeoutPeriod,
    audioMode: _audioMode,
    isAudioModeSelected: _isAudioModeSelected,
    defaultCameraFacing: _defaultCameraFacing,
    features: Features(
      audioOnlyMode: _audioOnlyMode,
      lowBandwidthMode: _lowBandwidthMode,
      raiseHand: _raiseHand,
      screenSharing: _screenSharing,
      callRecording: _callRecording,
      autoCallRecording: _autoCallRecording,
      virtualBackground: _virtualBackground,
    ),
    uiCustomization: UICustomization(
      hideControlPanel: _hideControlPanel,
      hideHeaderPanel: _hideHeaderPanel,
      hideEndCallButton: _hideEndCallButton,
      hideMuteAudioButton: _hideMuteAudioButton,
      hidePauseVideoButton: _hidePauseVideoButton,
      hideParticipantListButton: _hideParticipantListButton,
      hideLayoutToggleButton: _hideLayoutToggleButton,
      hideCameraSourceToggleButton: _hideCameraSourceToggleButton,
      hideSettings: _hideSettings,
      chatButtonVisible: _chatButtonVisible,
      hideShareInviteButton: _hideShareInviteButton,
      hideScreenSharingButton: _hideScreenSharingButton,
      hideRaiseHandButton: _hideRaiseHandButton,
      hideRecordingButton: _hideRecordingButton,
    ),
    listener: _listener,
  );
}