BililiveRecorder/BililiveRecorder.Core/IStreamMonitor.cs

17 lines
388 B
C#
Raw Normal View History

using System;
namespace BililiveRecorder.Core
2018-10-24 14:33:05 +08:00
{
public interface IStreamMonitor : IDisposable
2018-10-24 14:33:05 +08:00
{
int Roomid { get; }
bool IsMonitoring { get; }
2018-10-24 14:33:05 +08:00
event StreamStatusChangedEvent StreamStatusChanged;
event ReceivedDanmakuEvt ReceivedDanmaku;
2018-10-24 14:33:05 +08:00
bool Start();
void Stop();
void Check(TriggerType type, int seconds = 0);
2018-10-24 14:33:05 +08:00
}
}