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