diff options
| author | gion <oancaionutandrei@gmail.com> | 2020-04-22 22:05:53 +0200 |
|---|---|---|
| committer | gion <oancaionutandrei@gmail.com> | 2020-04-27 22:39:37 +0200 |
| commit | 73fcbe90c04d9b3de0fc0591565d9a3548a0fa70 (patch) | |
| tree | 1e5142479d7f8808571d50766ef837c63ef9cf61 /MediaBrowser.Model/Syncplay/GroupUpdateType.cs | |
| parent | 083d3272d09395e2b7d73d886377017573e63686 (diff) | |
Send error messages to clients
Diffstat (limited to 'MediaBrowser.Model/Syncplay/GroupUpdateType.cs')
| -rw-r--r-- | MediaBrowser.Model/Syncplay/GroupUpdateType.cs | 34 |
1 files changed, 25 insertions, 9 deletions
diff --git a/MediaBrowser.Model/Syncplay/GroupUpdateType.cs b/MediaBrowser.Model/Syncplay/GroupUpdateType.cs index 0ef8b27853..20e76932d4 100644 --- a/MediaBrowser.Model/Syncplay/GroupUpdateType.cs +++ b/MediaBrowser.Model/Syncplay/GroupUpdateType.cs @@ -1,37 +1,53 @@ namespace MediaBrowser.Model.Syncplay { /// <summary> - /// Enum GroupUpdateType + /// Enum GroupUpdateType. /// </summary> public enum GroupUpdateType { /// <summary> /// The user-joined update. Tells members of a group about a new user. /// </summary> - UserJoined = 0, + UserJoined, /// <summary> /// The user-left update. Tells members of a group that a user left. /// </summary> - UserLeft = 1, + UserLeft, /// <summary> /// The group-joined update. Tells a user that the group has been joined. /// </summary> - GroupJoined = 2, + GroupJoined, /// <summary> /// The group-left update. Tells a user that the group has been left. /// </summary> - GroupLeft = 3, + GroupLeft, /// <summary> /// The group-wait update. Tells members of the group that a user is buffering. /// </summary> - GroupWait = 4, + GroupWait, /// <summary> /// The prepare-session update. Tells a user to load some content. /// </summary> - PrepareSession = 5, + PrepareSession, /// <summary> - /// The not-in-group update. Tells a user that no group has been joined. + /// The not-in-group error. Tells a user that it doesn't belong to a group. /// </summary> - NotInGroup = 7 + NotInGroup, + /// <summary> + /// The group-not-joined error. Sent when a request to join a group fails. + /// </summary> + GroupNotJoined, + /// <summary> + /// The create-group-denied error. Sent when a user tries to create a group without required permissions. + /// </summary> + CreateGroupDenied, + /// <summary> + /// The join-group-denied error. Sent when a user tries to join a group without required permissions. + /// </summary> + JoinGroupDenied, + /// <summary> + /// The library-access-denied error. Sent when a user tries to join a group without required access to the library. + /// </summary> + LibraryAccessDenied } } |
