using System.ComponentModel; using MediaBrowser.Model.Session; using MediaBrowser.Model.Tasks; namespace MediaBrowser.Controller.Net.WebSocketMessages.Outbound; /// /// Scheduled task ended message. /// public class ScheduledTaskEndedMessage : OutboundWebSocketMessage { /// /// Initializes a new instance of the class. /// /// Task result. public ScheduledTaskEndedMessage(TaskResult data) : base(data) { } /// [DefaultValue(SessionMessageType.ScheduledTaskEnded)] public override SessionMessageType MessageType => SessionMessageType.ScheduledTaskEnded; }