jellyfin/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs

32 lines
925 B
C#
Raw Normal View History

using MediaBrowser.Controller.Entities;
2014-04-26 04:55:07 +02:00
using MediaBrowser.Model.Entities;
using System;
using System.Collections.Generic;
2013-02-21 02:33:05 +01:00
2013-03-20 17:54:32 +01:00
namespace MediaBrowser.Controller.Library
2013-02-21 02:33:05 +01:00
{
/// <summary>
/// Holds information about a playback progress event
/// </summary>
2013-03-20 17:54:32 +01:00
public class PlaybackProgressEventArgs : EventArgs
2013-02-21 02:33:05 +01:00
{
public List<User> Users { get; set; }
2013-02-21 02:33:05 +01:00
public long? PlaybackPositionTicks { get; set; }
2013-03-20 17:54:32 +01:00
public BaseItem Item { get; set; }
2014-04-26 04:55:07 +02:00
public BaseItemInfo MediaInfo { get; set; }
2014-03-22 17:16:43 +01:00
public string MediaSourceId { get; set; }
2016-03-22 04:31:35 +01:00
public bool IsPaused { get; set; }
2014-05-31 16:30:59 +02:00
public string DeviceId { get; set; }
2014-04-27 05:42:05 +02:00
public string DeviceName { get; set; }
public string ClientName { get; set; }
2016-03-22 04:31:35 +01:00
public string PlaySessionId { get; set; }
public PlaybackProgressEventArgs()
{
Users = new List<User>();
}
2013-12-30 18:18:18 +01:00
}
2013-02-21 02:33:05 +01:00
}