ISearchableChannel.cs 662 B

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