You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.3 KiB

// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.RTCAudio
{
/// <summary>
/// This struct is passed in with a call to <see cref="RTCAudioInterface.AddNotifyAudioDevicesChanged" /> registered event.
/// </summary>
public class AudioDevicesChangedCallbackInfo : ICallbackInfo, ISettable
{
/// <summary>
/// Client-specified data passed into <see cref="RTCAudioInterface.AddNotifyAudioDevicesChanged" />.
/// </summary>
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;
}
}
}
}