Meeting.Demo/Demo.Common/Events/AudioMuteStateChangedEvent.cs

29 lines
614 B
C#

using Agora.Rtc;
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 AudioMuteStateChangedEvent : PubSubEvent<AudioMuteInfo>
{
}
public class AudioMuteInfo
{
public AudioMuteInfo(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; }
}
}