jellyfin/MediaBrowser.Controller/Channels/ISearchableChannel.cs

22 lines
662 B
C#
Raw Normal View History

#nullable disable
#pragma warning disable CS1591
using System.Collections.Generic;
2018-12-28 00:27:57 +01:00
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Channels
{
public interface ISearchableChannel
{
/// <summary>
/// Searches the specified search term.
/// </summary>
/// <param name="searchInfo">The search information.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task{IEnumerable{ChannelItemInfo}}.</returns>
Task<IEnumerable<ChannelItemInfo>> Search(ChannelSearchInfo searchInfo, CancellationToken cancellationToken);
}
}