jellyfin-server/MediaBrowser.Controller/Channels/IIndexableChannel.cs
2014-06-06 13:14:02 -04:00

16 lines
529 B
C#

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);
}
}