using MediaBrowser.Controller.Entities;
using System;
using System.Collections.Generic;
namespace MediaBrowser.Controller.Library
{
///
/// Holds information about a playback progress event
///
public class PlaybackProgressEventArgs : EventArgs
{
public List Users { get; set; }
public long? PlaybackPositionTicks { get; set; }
public BaseItem Item { get; set; }
public string MediaSourceId { get; set; }
public PlaybackProgressEventArgs()
{
Users = new List();
}
}
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; }
}
}