Meeting.Demo/Demo.Common/Events/VideoMuteStateChangedEvent.cs

28 lines
595 B
C#

using Prism.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Demo.Common.Events
{
public class VideoMuteStateChangedEvent:PubSubEvent<VideoMuteInfo>
{
}
public class VideoMuteInfo
{
public VideoMuteInfo(long uid, bool isMute, string channel)
{
Channel = channel;
UId = uid;
IsMute = isMute;
}
public string Channel { get; set; }
public long UId { get; set; }
public bool IsMute { get; set; }
}
}