diff options
| author | Ionut Andrei Oanca <oancaionutandrei@gmail.com> | 2020-11-28 16:03:02 +0100 |
|---|---|---|
| committer | Ionut Andrei Oanca <oancaionutandrei@gmail.com> | 2020-11-28 16:03:02 +0100 |
| commit | 78ea8ef99e68eb606c96399895b224e91db15163 (patch) | |
| tree | cc9080c54b0a167df8b0e2a0c8b4e9c7dc5d8dae /MediaBrowser.Model/SyncPlay/RequestType.cs | |
| parent | c60714e36518ab1ea3a2a5b64999d5fb7462460c (diff) | |
Create common interface for SyncPlay requests
Diffstat (limited to 'MediaBrowser.Model/SyncPlay/RequestType.cs')
| -rw-r--r-- | MediaBrowser.Model/SyncPlay/RequestType.cs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/MediaBrowser.Model/SyncPlay/RequestType.cs b/MediaBrowser.Model/SyncPlay/RequestType.cs new file mode 100644 index 000000000..a6e397dcd --- /dev/null +++ b/MediaBrowser.Model/SyncPlay/RequestType.cs @@ -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 + } +} |
