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.

66 lines
1.6 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 used to call <see cref="RTCAudioInterface.AddNotifyAudioInputState" />.
/// </summary>
public class AddNotifyAudioInputStateOptions
{
/// <summary>
/// The Product User ID of the user trying to request this operation.
/// </summary>
public ProductUserId LocalUserId { get; set; }
/// <summary>
/// The room this event is registered on.
/// </summary>
public string RoomName { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct AddNotifyAudioInputStateOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_LocalUserId;
private System.IntPtr m_RoomName;
public ProductUserId LocalUserId
{
set
{
Helper.TryMarshalSet(ref m_LocalUserId, value);
}
}
public string RoomName
{
set
{
Helper.TryMarshalSet(ref m_RoomName, value);
}
}
public void Set(AddNotifyAudioInputStateOptions other)
{
if (other != null)
{
m_ApiVersion = RTCAudioInterface.AddnotifyaudioinputstateApiLatest;
LocalUserId = other.LocalUserId;
RoomName = other.RoomName;
}
}
public void Set(object other)
{
Set(other as AddNotifyAudioInputStateOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_LocalUserId);
Helper.TryMarshalDispose(ref m_RoomName);
}
}
}