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);
}
}