PlaybackEventArgs.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using System.Collections.Generic;
  2. using MediaBrowser.Model.Dto;
  3. using MediaBrowser.UI.Configuration;
  4. using System;
  5. namespace MediaBrowser.UI.Playback
  6. {
  7. /// <summary>
  8. /// Class PlaybackEventArgs
  9. /// </summary>
  10. public class PlaybackEventArgs : EventArgs
  11. {
  12. /// <summary>
  13. /// Gets or sets the player.
  14. /// </summary>
  15. /// <value>The player.</value>
  16. public BaseMediaPlayer Player { get; set; }
  17. /// <summary>
  18. /// Gets or sets the options.
  19. /// </summary>
  20. /// <value>The options.</value>
  21. public PlayOptions Options { get; set; }
  22. /// <summary>
  23. /// Gets or sets the player configuration.
  24. /// </summary>
  25. /// <value>The player configuration.</value>
  26. public PlayerConfiguration PlayerConfiguration { get; set; }
  27. }
  28. /// <summary>
  29. /// Class PlaybackStopEventArgs
  30. /// </summary>
  31. public class PlaybackStopEventArgs : EventArgs
  32. {
  33. /// <summary>
  34. /// Gets or sets the player.
  35. /// </summary>
  36. /// <value>The player.</value>
  37. public BaseMediaPlayer Player { get; set; }
  38. /// <summary>
  39. /// Gets or sets the items.
  40. /// </summary>
  41. /// <value>The items.</value>
  42. public List<BaseItemDto> Items { get; set; }
  43. }
  44. }