2021-05-07 00:39:20 +02:00
|
|
|
#nullable disable
|
|
|
|
|
2020-08-22 21:56:24 +02:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 21:01:16 +01:00
|
|
|
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);
|
|
|
|
}
|
2019-01-13 20:30:58 +01:00
|
|
|
}
|