jellyfin/MediaBrowser.Controller/Channels/IIndexableChannel.cs

16 lines
529 B
C#
Raw Normal View History

2014-06-06 10:14:02 -07:00
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Channels
{
public interface IIndexableChannel
{
/// <summary>
/// Gets all media.
/// </summary>
/// <param name="query">The query.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task{ChannelItemResult}.</returns>
Task<ChannelItemResult> GetAllMedia(InternalAllChannelMediaQuery query, CancellationToken cancellationToken);
}
}