ISearchableChannel.cs 613 B

1234567891011121314151617
  1. using System.Collections.Generic;
  2. using System.Threading;
  3. using System.Threading.Tasks;
  4. namespace MediaBrowser.Controller.Channels
  5. {
  6. public interface ISearchableChannel
  7. {
  8. /// <summary>
  9. /// Searches the specified search term.
  10. /// </summary>
  11. /// <param name="searchInfo">The search information.</param>
  12. /// <param name="cancellationToken">The cancellation token.</param>
  13. /// <returns>Task{IEnumerable{ChannelItemInfo}}.</returns>
  14. Task<IEnumerable<ChannelItemInfo>> Search(ChannelSearchInfo searchInfo, CancellationToken cancellationToken);
  15. }
  16. }