51 lines
1.2 KiB
C#
51 lines
1.2 KiB
C#
#pragma warning disable CS1591
|
|
|
|
namespace MediaBrowser.Model.Session
|
|
{
|
|
/// <summary>
|
|
/// The different kinds of messages that are used in the WebSocket api.
|
|
/// </summary>
|
|
public enum SessionMessageType
|
|
{
|
|
// Server -> Client
|
|
ForceKeepAlive,
|
|
GeneralCommand,
|
|
UserDataChanged,
|
|
Sessions,
|
|
Play,
|
|
SyncPlayCommand,
|
|
SyncPlayGroupUpdate,
|
|
Playstate,
|
|
RestartRequired,
|
|
ServerShuttingDown,
|
|
ServerRestarting,
|
|
LibraryChanged,
|
|
UserDeleted,
|
|
UserUpdated,
|
|
SeriesTimerCreated,
|
|
TimerCreated,
|
|
SeriesTimerCancelled,
|
|
TimerCancelled,
|
|
RefreshProgress,
|
|
ScheduledTaskEnded,
|
|
PackageInstallationCancelled,
|
|
PackageInstallationFailed,
|
|
PackageInstallationCompleted,
|
|
PackageInstalling,
|
|
PackageUninstalled,
|
|
ActivityLogEntry,
|
|
ScheduledTasksInfo,
|
|
|
|
// Client -> Server
|
|
ActivityLogEntryStart,
|
|
ActivityLogEntryStop,
|
|
SessionsStart,
|
|
SessionsStop,
|
|
ScheduledTasksInfoStart,
|
|
ScheduledTasksInfoStop,
|
|
|
|
// Shared
|
|
KeepAlive,
|
|
}
|
|
}
|