mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 10:04:44 +01:00
Create common interface for SyncPlay requests
This commit is contained in:
33
MediaBrowser.Model/SyncPlay/RequestType.cs
Normal file
33
MediaBrowser.Model/SyncPlay/RequestType.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
namespace MediaBrowser.Model.SyncPlay
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum RequestType.
|
||||
/// </summary>
|
||||
public enum RequestType
|
||||
{
|
||||
/// <summary>
|
||||
/// A user is requesting to create a new group.
|
||||
/// </summary>
|
||||
NewGroup = 0,
|
||||
|
||||
/// <summary>
|
||||
/// A user is requesting to join a group.
|
||||
/// </summary>
|
||||
JoinGroup = 1,
|
||||
|
||||
/// <summary>
|
||||
/// A user is requesting to leave a group.
|
||||
/// </summary>
|
||||
LeaveGroup = 2,
|
||||
|
||||
/// <summary>
|
||||
/// A user is requesting the list of available groups.
|
||||
/// </summary>
|
||||
ListGroups = 3,
|
||||
|
||||
/// <summary>
|
||||
/// A user is sending a playback command to a group.
|
||||
/// </summary>
|
||||
Playback = 4
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user