mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
23 lines
485 B
C#
23 lines
485 B
C#
using Remotely.Shared.Enums;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace Remotely.Shared.Models.RemoteControlDtos
|
|
{
|
|
[DataContract]
|
|
public class AudioSampleDto : BaseDto
|
|
{
|
|
public AudioSampleDto(byte[] buffer)
|
|
{
|
|
Buffer = buffer;
|
|
}
|
|
|
|
[DataMember(Name = "Buffer")]
|
|
public byte[] Buffer { get; }
|
|
|
|
|
|
[DataMember(Name = "DtoType")]
|
|
public new BaseDtoType DtoType { get; } = BaseDtoType.AudioSample;
|
|
|
|
}
|
|
}
|