#nullable disable
#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.
///
Task SendMessage(SessionMessageType name, Guid messageId, T data, CancellationToken cancellationToken);
}
}