#pragma warning disable CS1591
using System;
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Model.Session;
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.
        /// 
        /// The type of data.
        /// Name of message type.
        /// Message ID.
        /// Data to send.
        /// CancellationToken for operation.
        /// A task.
        Task SendMessage(SessionMessageType name, Guid messageId, T data, CancellationToken cancellationToken);
    }
}