using System.ComponentModel; using MediaBrowser.Model.Session; using MediaBrowser.Model.SyncPlay; namespace MediaBrowser.Controller.Net.WebSocketMessages.Outbound; /// /// Sync play group update command with string. /// GroupUpdateTypes: GroupDoesNotExist (error), LibraryAccessDenied (error), NotInGroup (error), GroupLeft (groupId), UserJoined (username), UserLeft (username). /// public class SyncPlayGroupUpdateCommandOfStringMessage : OutboundWebSocketMessage> { /// /// Initializes a new instance of the class. /// /// The send command. public SyncPlayGroupUpdateCommandOfStringMessage(GroupUpdate data) : base(data) { } /// [DefaultValue(SessionMessageType.SyncPlayGroupUpdate)] public override SessionMessageType MessageType => SessionMessageType.SyncPlayGroupUpdate; }