// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.RTC { /// /// This struct is used to call /// /// Available values of SettingName: /// - DisableEchoCancelation: Disables the use of echo cancellation for the audio channel. Default "False". /// - DisableNoiseSupression: Disables the use of noise suppression for the audio channel. Default "False". /// - DisableAutoGainControl: Disables the use of auto gain control for the audio channel. Default "False". /// - DisableDtx: Allows to disable the use of DTX. Default "False". /// public class SetSettingOptions { /// /// Setting that should be set. /// public string SettingName { get; set; } /// /// Value to set the setting to. /// public string SettingValue { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct SetSettingOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_SettingName; private System.IntPtr m_SettingValue; public string SettingName { set { Helper.TryMarshalSet(ref m_SettingName, value); } } public string SettingValue { set { Helper.TryMarshalSet(ref m_SettingValue, value); } } public void Set(SetSettingOptions other) { if (other != null) { m_ApiVersion = RTCInterface.SetsettingApiLatest; SettingName = other.SettingName; SettingValue = other.SettingValue; } } public void Set(object other) { Set(other as SetSettingOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_SettingName); Helper.TryMarshalDispose(ref m_SettingValue); } } }