2023-06-10 15:28:21 +02:00
|
|
|
using System.ComponentModel;
|
|
|
|
using MediaBrowser.Model.Session;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Net.WebSocketMessages.Inbound;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Sessions start message.
|
2023-06-29 13:44:36 +02:00
|
|
|
/// Data is the timing data encoded as "$initialDelay,$interval" in ms.
|
2023-06-10 15:28:21 +02:00
|
|
|
/// </summary>
|
2023-06-29 13:44:36 +02:00
|
|
|
public class SessionsStartMessage : InboundWebSocketMessage<string>
|
2023-06-10 15:28:21 +02:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="SessionsStartMessage"/> class.
|
|
|
|
/// </summary>
|
2023-06-29 13:44:36 +02:00
|
|
|
/// <param name="data">The timing data encoded as $initialDelay,$interval.</param>
|
|
|
|
public SessionsStartMessage(string data)
|
2023-06-10 15:28:21 +02:00
|
|
|
: base(data)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
[DefaultValue(SessionMessageType.SessionsStart)]
|
|
|
|
public override SessionMessageType MessageType => SessionMessageType.SessionsStart;
|
|
|
|
}
|