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