aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/SyncPlay/SyncPlayUserJoinedUpdate.cs
blob: 247e6a57b2ee8c6164d4e9f6d682e3d77ee671d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.ComponentModel;

namespace MediaBrowser.Model.SyncPlay;

/// <inheritdoc />
public class SyncPlayUserJoinedUpdate : GroupUpdate<string>
{
    /// <summary>
    /// Initializes a new instance of the <see cref="SyncPlayUserJoinedUpdate"/> class.
    /// </summary>
    /// <param name="groupId">The groupId.</param>
    /// <param name="data">The data.</param>
    public SyncPlayUserJoinedUpdate(Guid groupId, string data) : base(groupId, data)
    {
    }

    /// <inheritdoc />
    [DefaultValue(GroupUpdateType.UserJoined)]
    public override GroupUpdateType Type => GroupUpdateType.UserJoined;
}