using System; using MediaBrowser.Controller.Entities; namespace MediaBrowser.Controller.Library { /// /// Holds information about a playback progress event /// 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 { /// /// Gets or sets a value indicating whether [played to completion]. /// /// true if [played to completion]; otherwise, false. public bool PlayedToCompletion { get; set; } } }