From a86b71899ec52c44ddc6c3018e8cc5e9d7ff4d62 Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Thu, 27 Dec 2018 18:27:57 -0500 Subject: Add GPL modules --- .../Session/ISessionController.cs | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 MediaBrowser.Controller/Session/ISessionController.cs (limited to 'MediaBrowser.Controller/Session/ISessionController.cs') diff --git a/MediaBrowser.Controller/Session/ISessionController.cs b/MediaBrowser.Controller/Session/ISessionController.cs new file mode 100644 index 000000000..e1d3a7ee6 --- /dev/null +++ b/MediaBrowser.Controller/Session/ISessionController.cs @@ -0,0 +1,25 @@ +using System.Threading; +using System.Threading.Tasks; + +namespace MediaBrowser.Controller.Session +{ + public interface ISessionController + { + /// + /// Gets a value indicating whether this instance is session active. + /// + /// true if this instance is session active; otherwise, false. + bool IsSessionActive { get; } + + /// + /// Gets a value indicating whether [supports media remote control]. + /// + /// true if [supports media remote control]; otherwise, false. + bool SupportsMediaControl { get; } + + /// + /// Sends the message. + /// + Task SendMessage(string name, string messageId, T data, ISessionController[] allControllers, CancellationToken cancellationToken); + } +} -- cgit v1.2.3