mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
14 lines
449 B
C#
14 lines
449 B
C#
namespace BililiveRecorder.Core
|
|
{
|
|
public interface IStreamMonitor
|
|
{
|
|
int Roomid { get; }
|
|
event StreamStatusChangedEvent StreamStatusChanged;
|
|
IDanmakuReceiver Receiver { get; } // TODO: 改掉这个写法
|
|
bool Start();
|
|
void Stop();
|
|
void Check(TriggerType type = TriggerType.HttpApiRecheck);
|
|
void CheckAfterSeconeds(int seconds, TriggerType type = TriggerType.HttpApiRecheck);
|
|
}
|
|
}
|