aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Channels/ISearchableChannel.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-06 13:14:02 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-06 13:14:02 -0400
commitf271e358a195c8bb3e931e22ca813265c7bc1f05 (patch)
tree5a126dee9cd8cdd958a2a0c32386361c0ec02bf6 /MediaBrowser.Controller/Channels/ISearchableChannel.cs
parent6120286bfdc274b8cb388b1d67bf616b6c2d09d0 (diff)
update channels
Diffstat (limited to 'MediaBrowser.Controller/Channels/ISearchableChannel.cs')
-rw-r--r--MediaBrowser.Controller/Channels/ISearchableChannel.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Channels/ISearchableChannel.cs b/MediaBrowser.Controller/Channels/ISearchableChannel.cs
new file mode 100644
index 000000000..c5fb3a4f1
--- /dev/null
+++ b/MediaBrowser.Controller/Channels/ISearchableChannel.cs
@@ -0,0 +1,17 @@
+using System.Collections.Generic;
+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);
+ }
+} \ No newline at end of file