using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace MediaBrowser.Controller.Channels { public interface ISearchableChannel { /// /// Searches the specified search term. /// /// The search information. /// The cancellation token. /// Task{IEnumerable{ChannelItemInfo}}. Task> Search(ChannelSearchInfo searchInfo, CancellationToken cancellationToken); } public interface ISupportsLatestMedia { /// /// Gets the latest media. /// /// The request. /// The cancellation token. /// Task{IEnumerable{ChannelItemInfo}}. Task> GetLatestMedia(ChannelLatestMediaSearch request, CancellationToken cancellationToken); } }