// 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 class AudioDevicesChangedCallbackInfo : ICallbackInfo, ISettable
{
///
/// Client-specified data passed into .
///
public object ClientData { get; private set; }
public Result? GetResultCode()
{
return null;
}
internal void Set(AudioDevicesChangedCallbackInfoInternal? other)
{
if (other != null)
{
ClientData = other.Value.ClientData;
}
}
public void Set(object other)
{
Set(other as AudioDevicesChangedCallbackInfoInternal?);
}
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct AudioDevicesChangedCallbackInfoInternal : ICallbackInfoInternal
{
private System.IntPtr m_ClientData;
public object ClientData
{
get
{
object value;
Helper.TryMarshalGet(m_ClientData, out value);
return value;
}
}
public System.IntPtr ClientDataAddress
{
get
{
return m_ClientData;
}
}
}
}