// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.RTCAudio
{
///
/// This struct is passed in with a call to registered event.
///
public struct AudioDevicesChangedCallbackInfo : ICallbackInfo
{
///
/// Client-specified data passed into .
///
public object ClientData { get; set; }
public Result? GetResultCode()
{
return null;
}
internal void Set(ref AudioDevicesChangedCallbackInfoInternal other)
{
ClientData = other.ClientData;
}
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct AudioDevicesChangedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable
{
private System.IntPtr m_ClientData;
public object ClientData
{
get
{
object value;
Helper.Get(m_ClientData, out value);
return value;
}
set
{
Helper.Set(value, ref m_ClientData);
}
}
public System.IntPtr ClientDataAddress
{
get
{
return m_ClientData;
}
}
public void Set(ref AudioDevicesChangedCallbackInfo other)
{
ClientData = other.ClientData;
}
public void Set(ref AudioDevicesChangedCallbackInfo? other)
{
if (other.HasValue)
{
ClientData = other.Value.ClientData;
}
}
public void Dispose()
{
Helper.Dispose(ref m_ClientData);
}
public void Get(out AudioDevicesChangedCallbackInfo output)
{
output = new AudioDevicesChangedCallbackInfo();
output.Set(ref this);
}
}
}