aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Session/ISessionRemoteController.cs
blob: 1f6faeb9c2d4811994d7384b198d345f49a22ca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);
    }
}