Files
jellyfin-jellyfin-1/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs

32 lines
943 B
C#
Raw Normal View History

using MediaBrowser.Controller.Entities;
using System;
using System.Collections.Generic;
2013-02-20 20:33:05 -05:00
2013-03-20 12:54:32 -04:00
namespace MediaBrowser.Controller.Library
2013-02-20 20:33:05 -05:00
{
/// <summary>
/// Holds information about a playback progress event
/// </summary>
2013-03-20 12:54:32 -04:00
public class PlaybackProgressEventArgs : EventArgs
2013-02-20 20:33:05 -05:00
{
public List<User> Users { get; set; }
2013-02-20 20:33:05 -05:00
public long? PlaybackPositionTicks { get; set; }
2013-03-20 12:54:32 -04:00
public BaseItem Item { get; set; }
2014-03-22 12:16:43 -04:00
public string MediaSourceId { get; set; }
public PlaybackProgressEventArgs()
{
Users = new List<User>();
}
2013-12-30 12:18:18 -05:00
}
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-20 20:33:05 -05:00
}
}