24 lines
719 B
C#
24 lines
719 B
C#
namespace MediaBrowser.Controller.Session;
|
|
|
|
/// <summary>
|
|
/// A now-viewing report for a session held by another instance, carried as a <see cref="PodMessage"/>.
|
|
/// The calling instance has already authorized it.
|
|
/// </summary>
|
|
public sealed class RoutedNowViewingItem
|
|
{
|
|
/// <summary>
|
|
/// The <see cref="PodMessage.Kind"/> this payload travels under.
|
|
/// </summary>
|
|
public const string Kind = "NowViewingItem";
|
|
|
|
/// <summary>
|
|
/// Gets or sets the session the report applies to.
|
|
/// </summary>
|
|
public string SessionId { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the item being viewed.
|
|
/// </summary>
|
|
public string ItemId { get; set; } = string.Empty;
|
|
}
|