using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Model.LiveTv;
namespace MediaBrowser.Controller.LiveTv
{
///
/// Represents a single live tv back end (next pvr, media portal, etc).
///
public interface ILiveTvService
{
///
/// Gets the name.
///
/// The name.
string Name { get; }
///
/// Gets the channels async.
///
/// The cancellation token.
/// Task{IEnumerable{ChannelInfo}}.
Task> GetChannelsAsync(CancellationToken cancellationToken);
Task> GetRecordingsAsync(CancellationToken cancellationToken);
Task> GetEpgAsync(CancellationToken cancellationToken);
}
}