jellyfin-server/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs

26 lines
801 B
C#
Raw Normal View History

2013-03-20 16:54:32 +00:00
using System;
using MediaBrowser.Controller.Entities;
2013-02-21 01:33:05 +00:00
2013-03-20 16:54:32 +00:00
namespace MediaBrowser.Controller.Library
2013-02-21 01:33:05 +00:00
{
/// <summary>
/// Holds information about a playback progress event
/// </summary>
2013-03-20 16:54:32 +00:00
public class PlaybackProgressEventArgs : EventArgs
2013-02-21 01:33:05 +00:00
{
public User User { get; set; }
public long? PlaybackPositionTicks { get; set; }
2013-03-20 16:54:32 +00:00
public BaseItem Item { get; set; }
2013-12-30 17:18:18 +00:00
public UserItemData UserData { get; set; }
}
public class PlaybackStopEventArgs : PlaybackProgressEventArgs
{
/// <summary>
/// Gets or sets a value indicating whether [played to completion].
/// </summary>
/// <value><c>true</c> if [played to completion]; otherwise, <c>false</c>.</value>
public bool PlayedToCompletion { get; set; }
2013-02-21 01:33:05 +00:00
}
}