2020-09-25 07:25:59 +00:00
|
|
|
#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,
|
2021-01-05 15:06:55 +00:00
|
|
|
Playstate,
|
2020-09-25 07:25:59 +00:00
|
|
|
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,
|
|
|
|
}
|
|
|
|
}
|