Interface ISessionController
Assembly: MediaBrowser.Controller.dll
public interface ISessionController
Properties
Gets a value indicating whether this instance is session active.
Declaration
bool IsSessionActive { get; }
Property Value
Type |
Description |
System.Boolean |
true if this instance is session active; otherwise, false .
|
Declaration
Property Value
Type |
Description |
System.Int32 |
|
Gets a value indicating whether [supports media remote control].
Declaration
bool SupportsMediaControl { get; }
Property Value
Type |
Description |
System.Boolean |
true if [supports media remote control]; otherwise, false .
|
Methods
Declaration
Task SendMessage<T>(ReadOnlyMemory<char> name, string messageId, T data, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.ReadOnlyMemory<System.Char> |
name |
|
System.String |
messageId |
|
T |
data |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
Declaration
bool SupportsMessage(ReadOnlySpan<char> name)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Char> |
name |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods