using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Jellyfin.Plugin.SRFPlay.Services.Interfaces;
///
/// Interface for refreshing content from SRF API.
///
public interface IContentRefreshService
{
///
/// Refreshes latest content from SRF API using Play v3.
///
/// The business unit to fetch content for (e.g. "srf", "rts").
/// The cancellation token.
/// List of URNs for new content.
Task> RefreshLatestContentAsync(string businessUnit, CancellationToken cancellationToken);
///
/// Refreshes trending content from SRF API using Play v3.
///
/// The business unit to fetch content for (e.g. "srf", "rts").
/// The cancellation token.
/// List of URNs for trending content.
Task> RefreshTrendingContentAsync(string businessUnit, CancellationToken cancellationToken);
}