BililiveRecorder/BililiveRecorder.Core/IStreamMonitor.cs

14 lines
449 B
C#
Raw Normal View History

2018-10-24 14:33:05 +08:00
namespace BililiveRecorder.Core
{
public interface IStreamMonitor
{
int Roomid { get; }
event StreamStatusChangedEvent StreamStatusChanged;
2018-10-29 02:13:54 +08:00
IDanmakuReceiver Receiver { get; } // TODO: 改掉这个写法
2018-10-24 14:33:05 +08:00
bool Start();
void Stop();
void Check(TriggerType type = TriggerType.HttpApiRecheck);
void CheckAfterSeconeds(int seconds, TriggerType type = TriggerType.HttpApiRecheck);
}
}