mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-18 03:19:06 -07:00
32 lines
969 B
C#
32 lines
969 B
C#
namespace MediaBrowser.Model.SyncPlay
|
|
{
|
|
/// <summary>
|
|
/// Class GroupStateUpdate.
|
|
/// </summary>
|
|
public class GroupStateUpdate
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="GroupStateUpdate"/> class.
|
|
/// </summary>
|
|
/// <param name="state">The state of the group.</param>
|
|
/// <param name="reason">The reason of the state change.</param>
|
|
public GroupStateUpdate(GroupStateType state, PlaybackRequestType reason)
|
|
{
|
|
State = state;
|
|
Reason = reason;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the state of the group.
|
|
/// </summary>
|
|
/// <value>The state of the group.</value>
|
|
public GroupStateType State { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the reason of the state change.
|
|
/// </summary>
|
|
/// <value>The reason of the state change.</value>
|
|
public PlaybackRequestType Reason { get; }
|
|
}
|
|
}
|