aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Syncplay/GroupUpdateType.cs
diff options
context:
space:
mode:
authorgion <oancaionutandrei@gmail.com>2020-04-15 18:03:58 +0200
committergion <oancaionutandrei@gmail.com>2020-04-27 22:39:20 +0200
commit84d92ba9cea4fdd97a8d1580e67706dc4577871a (patch)
tree1b4ab3037c2dc2c5ad0b92c4fe6017143774c625 /MediaBrowser.Model/Syncplay/GroupUpdateType.cs
parent73c19bd2811abf7daa2db3801388db488cab3a59 (diff)
Check that client is playing the right item
Send date when playback command is emitted Rename some classes
Diffstat (limited to 'MediaBrowser.Model/Syncplay/GroupUpdateType.cs')
-rw-r--r--MediaBrowser.Model/Syncplay/GroupUpdateType.cs41
1 files changed, 41 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Syncplay/GroupUpdateType.cs b/MediaBrowser.Model/Syncplay/GroupUpdateType.cs
new file mode 100644
index 000000000..ceb778b36
--- /dev/null
+++ b/MediaBrowser.Model/Syncplay/GroupUpdateType.cs
@@ -0,0 +1,41 @@
+namespace MediaBrowser.Model.Syncplay
+{
+ /// <summary>
+ /// Enum GroupUpdateType
+ /// </summary>
+ public enum GroupUpdateType
+ {
+ /// <summary>
+ /// The user-joined update. Tells members of a group about a new user.
+ /// </summary>
+ UserJoined = 0,
+ /// <summary>
+ /// The user-left update. Tells members of a group that a user left.
+ /// </summary>
+ UserLeft = 1,
+ /// <summary>
+ /// The group-joined update. Tells a user that the group has been joined.
+ /// </summary>
+ GroupJoined = 2,
+ /// <summary>
+ /// The group-left update. Tells a user that the group has been left.
+ /// </summary>
+ GroupLeft = 3,
+ /// <summary>
+ /// The group-wait update. Tells members of the group that a user is buffering.
+ /// </summary>
+ GroupWait = 4,
+ /// <summary>
+ /// The prepare-session update. Tells a user to load some content.
+ /// </summary>
+ PrepareSession = 5,
+ /// <summary>
+ /// The keep-alive update. An update to keep alive the socket.
+ /// </summary>
+ KeepAlive = 6,
+ /// <summary>
+ /// The not-in-group update. Tells a user that no group has been joined.
+ /// </summary>
+ NotInGroup = 7
+ }
+}