jellyfin/MediaBrowser.Model/SyncPlay/GroupUpdateType.cs

54 lines
1.9 KiB
C#
Raw Normal View History

2020-05-06 21:42:53 +00:00
namespace MediaBrowser.Model.SyncPlay
2020-04-01 15:52:42 +00:00
{
/// <summary>
2020-04-22 20:05:53 +00:00
/// Enum GroupUpdateType.
2020-04-01 15:52:42 +00:00
/// </summary>
public enum GroupUpdateType
2020-04-01 15:52:42 +00:00
{
/// <summary>
/// The user-joined update. Tells members of a group about a new user.
/// </summary>
2020-04-22 20:05:53 +00:00
UserJoined,
2020-04-01 15:52:42 +00:00
/// <summary>
/// The user-left update. Tells members of a group that a user left.
/// </summary>
2020-04-22 20:05:53 +00:00
UserLeft,
2020-04-01 15:52:42 +00:00
/// <summary>
/// The group-joined update. Tells a user that the group has been joined.
/// </summary>
2020-04-22 20:05:53 +00:00
GroupJoined,
2020-04-01 15:52:42 +00:00
/// <summary>
/// The group-left update. Tells a user that the group has been left.
/// </summary>
2020-04-22 20:05:53 +00:00
GroupLeft,
2020-04-01 15:52:42 +00:00
/// <summary>
/// The group-wait update. Tells members of the group that a user is buffering.
/// </summary>
2020-04-22 20:05:53 +00:00
GroupWait,
2020-04-01 15:52:42 +00:00
/// <summary>
/// The prepare-session update. Tells a user to load some content.
/// </summary>
2020-04-22 20:05:53 +00:00
PrepareSession,
2020-04-01 15:52:42 +00:00
/// <summary>
2020-05-04 17:46:02 +00:00
/// The not-in-group error. Tells a user that they don't belong to a group.
2020-04-01 15:52:42 +00:00
/// </summary>
2020-04-22 20:05:53 +00:00
NotInGroup,
/// <summary>
2020-05-04 17:46:02 +00:00
/// The group-does-not-exist error. Sent when trying to join a non-existing group.
2020-04-22 20:05:53 +00:00
/// </summary>
2020-05-04 17:46:02 +00:00
GroupDoesNotExist,
2020-04-22 20:05:53 +00:00
/// <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
2020-04-01 15:52:42 +00:00
}
}