2
0

GroupStateUpdate.cs 969 B

12345678910111213141516171819202122232425262728293031
  1. namespace MediaBrowser.Model.SyncPlay
  2. {
  3. /// <summary>
  4. /// Class GroupStateUpdate.
  5. /// </summary>
  6. public class GroupStateUpdate
  7. {
  8. /// <summary>
  9. /// Initializes a new instance of the <see cref="GroupStateUpdate"/> class.
  10. /// </summary>
  11. /// <param name="state">The state of the group.</param>
  12. /// <param name="reason">The reason of the state change.</param>
  13. public GroupStateUpdate(GroupStateType state, PlaybackRequestType reason)
  14. {
  15. State = state;
  16. Reason = reason;
  17. }
  18. /// <summary>
  19. /// Gets the state of the group.
  20. /// </summary>
  21. /// <value>The state of the group.</value>
  22. public GroupStateType State { get; }
  23. /// <summary>
  24. /// Gets the reason of the state change.
  25. /// </summary>
  26. /// <value>The reason of the state change.</value>
  27. public PlaybackRequestType Reason { get; }
  28. }
  29. }