jellyfin/MediaBrowser.Model/SyncPlay/GroupUpdateType.cs

64 lines
1.9 KiB
C#
Raw Normal View History

2020-05-06 17:42:53 -04:00
namespace MediaBrowser.Model.SyncPlay
2020-04-01 11:52:42 -04:00
{
/// <summary>
2020-04-22 16:05:53 -04:00
/// Enum GroupUpdateType.
2020-04-01 11:52:42 -04:00
/// </summary>
public enum GroupUpdateType
2020-04-01 11:52:42 -04:00
{
/// <summary>
/// The user-joined update. Tells members of a group about a new user.
/// </summary>
2020-04-22 16:05:53 -04:00
UserJoined,
2020-06-14 06:14:14 -04:00
2020-04-01 11:52:42 -04:00
/// <summary>
/// The user-left update. Tells members of a group that a user left.
/// </summary>
2020-04-22 16:05:53 -04:00
UserLeft,
2020-06-14 06:14:14 -04:00
2020-04-01 11:52:42 -04:00
/// <summary>
/// The group-joined update. Tells a user that the group has been joined.
/// </summary>
2020-04-22 16:05:53 -04:00
GroupJoined,
2020-06-14 06:14:14 -04:00
2020-04-01 11:52:42 -04:00
/// <summary>
/// The group-left update. Tells a user that the group has been left.
/// </summary>
2020-04-22 16:05:53 -04:00
GroupLeft,
2020-06-14 06:14:14 -04:00
2020-04-01 11:52:42 -04:00
/// <summary>
/// The group-state update. Tells members of the group that the state changed.
2020-04-01 11:52:42 -04:00
/// </summary>
StateUpdate,
2020-06-14 06:14:14 -04:00
2020-04-01 11:52:42 -04:00
/// <summary>
2020-10-21 10:42:57 -04:00
/// The play-queue update. Tells a user the playing queue of the group.
2020-04-01 11:52:42 -04:00
/// </summary>
PlayQueue,
2020-06-14 06:14:14 -04:00
2020-04-01 11:52:42 -04:00
/// <summary>
2020-05-04 13:46:02 -04:00
/// The not-in-group error. Tells a user that they don't belong to a group.
2020-04-01 11:52:42 -04:00
/// </summary>
2020-04-22 16:05:53 -04:00
NotInGroup,
2020-06-14 06:14:14 -04:00
2020-04-22 16:05:53 -04:00
/// <summary>
2020-05-04 13:46:02 -04:00
/// The group-does-not-exist error. Sent when trying to join a non-existing group.
2020-04-22 16:05:53 -04:00
/// </summary>
2020-05-04 13:46:02 -04:00
GroupDoesNotExist,
2020-06-14 06:14:14 -04:00
2020-04-22 16:05:53 -04:00
/// <summary>
/// The create-group-denied error. Sent when a user tries to create a group without required permissions.
/// </summary>
CreateGroupDenied,
2020-06-14 06:14:14 -04:00
2020-04-22 16:05:53 -04:00
/// <summary>
/// The join-group-denied error. Sent when a user tries to join a group without required permissions.
/// </summary>
JoinGroupDenied,
2020-06-14 06:14:14 -04:00
2020-04-22 16:05:53 -04:00
/// <summary>
/// The library-access-denied error. Sent when a user tries to join a group without required access to the library.
/// </summary>
LibraryAccessDenied
2020-04-01 11:52:42 -04:00
}
}