TwitchDownloader/dotnet/src/TwitchArchive.Core/Services/IDownloaderService.cs

12 lines
385 B
C#

using System.Threading;
using System.Threading.Tasks;
using TwitchArchive.Core.Api;
namespace TwitchArchive.Core.Services
{
public interface IDownloaderService
{
Task<bool> DownloadVodAsync(VodInfo vod, string outputPath, CancellationToken ct = default);
Task<bool> DownloadChatJsonAsync(string vodId, string jsonPath, CancellationToken ct = default);
}
}