mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 17:14:42 +01:00
added more remote control commands
This commit is contained in:
@@ -593,17 +593,9 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// Sends the command asynchronous.
|
||||
/// </summary>
|
||||
/// <param name="sessionId">The session identifier.</param>
|
||||
/// <param name="request">The request.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task SendCommandAsync(string sessionId, GenericCommand request);
|
||||
|
||||
/// <summary>
|
||||
/// Sends a system command to the client
|
||||
/// </summary>
|
||||
/// <param name="sessionId">The session id.</param>
|
||||
/// <param name="command">The command.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task SendSystemCommandAsync(string sessionId, SystemCommand command);
|
||||
Task SendCommandAsync(string sessionId, GeneralCommand command);
|
||||
|
||||
/// <summary>
|
||||
/// Instructs the client to display a message to the user
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using MediaBrowser.Model.Session;
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.ApiClient
|
||||
{
|
||||
@@ -66,7 +67,7 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// <summary>
|
||||
/// Occurs when [system command].
|
||||
/// </summary>
|
||||
event EventHandler<SystemCommandEventArgs> SystemCommand;
|
||||
event EventHandler<GeneralCommandEventArgs> GeneralCommand;
|
||||
/// <summary>
|
||||
/// Occurs when [notification added].
|
||||
/// </summary>
|
||||
|
||||
@@ -152,13 +152,13 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// <summary>
|
||||
/// Class SystemCommandEventArgs
|
||||
/// </summary>
|
||||
public class SystemCommandEventArgs : EventArgs
|
||||
public class GeneralCommandEventArgs : EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the command.
|
||||
/// </summary>
|
||||
/// <value>The command.</value>
|
||||
public SystemCommand Command { get; set; }
|
||||
public GeneralCommand Command { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user