jellyfin/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs
2013-12-30 12:18:18 -05:00

26 lines
801 B
C#

using System;
using MediaBrowser.Controller.Entities;
namespace MediaBrowser.Controller.Library
{
/// <summary>
/// Holds information about a playback progress event
/// </summary>
public class PlaybackProgressEventArgs : EventArgs
{
public User User { get; set; }
public long? PlaybackPositionTicks { get; set; }
public BaseItem Item { get; set; }
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; }
}
}