GroupUpdateType.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. namespace MediaBrowser.Model.SyncPlay
  2. {
  3. /// <summary>
  4. /// Enum GroupUpdateType.
  5. /// </summary>
  6. public enum GroupUpdateType
  7. {
  8. /// <summary>
  9. /// The user-joined update. Tells members of a group about a new user.
  10. /// </summary>
  11. UserJoined,
  12. /// <summary>
  13. /// The user-left update. Tells members of a group that a user left.
  14. /// </summary>
  15. UserLeft,
  16. /// <summary>
  17. /// The group-joined update. Tells a user that the group has been joined.
  18. /// </summary>
  19. GroupJoined,
  20. /// <summary>
  21. /// The group-left update. Tells a user that the group has been left.
  22. /// </summary>
  23. GroupLeft,
  24. /// <summary>
  25. /// The group-state update. Tells members of the group that the state changed.
  26. /// </summary>
  27. StateUpdate,
  28. /// <summary>
  29. /// The play-queue update. Tells a user the playing queue of the group.
  30. /// </summary>
  31. PlayQueue,
  32. /// <summary>
  33. /// The not-in-group error. Tells a user that they don't belong to a group.
  34. /// </summary>
  35. NotInGroup,
  36. /// <summary>
  37. /// The group-does-not-exist error. Sent when trying to join a non-existing group.
  38. /// </summary>
  39. GroupDoesNotExist,
  40. /// <summary>
  41. /// The create-group-denied error. Sent when a user tries to create a group without required permissions.
  42. /// </summary>
  43. CreateGroupDenied,
  44. /// <summary>
  45. /// The join-group-denied error. Sent when a user tries to join a group without required permissions.
  46. /// </summary>
  47. JoinGroupDenied,
  48. /// <summary>
  49. /// The library-access-denied error. Sent when a user tries to join a group without required access to the library.
  50. /// </summary>
  51. LibraryAccessDenied
  52. }
  53. }