mirror of https://github.com/jellyfin/jellyfin.git
25 lines
726 B
C#
25 lines
726 B
C#
using System.ComponentModel;
|
|
using MediaBrowser.Controller.LiveTv;
|
|
using MediaBrowser.Model.Session;
|
|
|
|
namespace MediaBrowser.Controller.Net.WebSocketMessages.Outbound;
|
|
|
|
/// <summary>
|
|
/// Timer created message.
|
|
/// </summary>
|
|
public class TimerCreatedMessage : OutboundWebSocketMessage<TimerEventInfo>
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="TimerCreatedMessage"/> class.
|
|
/// </summary>
|
|
/// <param name="data">Timer event info.</param>
|
|
public TimerCreatedMessage(TimerEventInfo data)
|
|
: base(data)
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
[DefaultValue(SessionMessageType.TimerCreated)]
|
|
public override SessionMessageType MessageType => SessionMessageType.TimerCreated;
|
|
}
|