aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Session/ISessionRemoteController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/Session/ISessionRemoteController.cs')
-rw-r--r--MediaBrowser.Controller/Session/ISessionRemoteController.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Session/ISessionRemoteController.cs b/MediaBrowser.Controller/Session/ISessionRemoteController.cs
new file mode 100644
index 000000000..1f6faeb9c
--- /dev/null
+++ b/MediaBrowser.Controller/Session/ISessionRemoteController.cs
@@ -0,0 +1,25 @@
+using MediaBrowser.Model.Session;
+using System.Threading;
+using System.Threading.Tasks;
+
+namespace MediaBrowser.Controller.Session
+{
+ public interface ISessionRemoteController
+ {
+ /// <summary>
+ /// Supportses the specified session.
+ /// </summary>
+ /// <param name="session">The session.</param>
+ /// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns>
+ bool Supports(SessionInfo session);
+
+ /// <summary>
+ /// Sends the system command.
+ /// </summary>
+ /// <param name="session">The session.</param>
+ /// <param name="command">The command.</param>
+ /// <param name="cancellationToken">The cancellation token.</param>
+ /// <returns>Task.</returns>
+ Task SendSystemCommand(SessionInfo session, SystemCommand command, CancellationToken cancellationToken);
+ }
+}