ClientConnectionInfo.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using MediaBrowser.Model.Entities;
  2. using System;
  3. namespace MediaBrowser.Model.Connectivity
  4. {
  5. /// <summary>
  6. /// Class ClientConnectionInfo
  7. /// </summary>
  8. public class ClientConnectionInfo
  9. {
  10. /// <summary>
  11. /// Gets or sets the user id.
  12. /// </summary>
  13. /// <value>The user id.</value>
  14. public string UserId { get; set; }
  15. /// <summary>
  16. /// Gets or sets the type of the client.
  17. /// </summary>
  18. /// <value>The type of the client.</value>
  19. public string Client { get; set; }
  20. /// <summary>
  21. /// Gets or sets the last activity date.
  22. /// </summary>
  23. /// <value>The last activity date.</value>
  24. public DateTime LastActivityDate { get; set; }
  25. /// <summary>
  26. /// Gets or sets the name of the device.
  27. /// </summary>
  28. /// <value>The name of the device.</value>
  29. public string DeviceName { get; set; }
  30. /// <summary>
  31. /// Gets or sets the now playing item.
  32. /// </summary>
  33. /// <value>The now playing item.</value>
  34. public BaseItemInfo NowPlayingItem { get; set; }
  35. /// <summary>
  36. /// Gets or sets the now playing position ticks.
  37. /// </summary>
  38. /// <value>The now playing position ticks.</value>
  39. public long? NowPlayingPositionTicks { get; set; }
  40. /// <summary>
  41. /// Gets or sets the device id.
  42. /// </summary>
  43. /// <value>The device id.</value>
  44. public string DeviceId { get; set; }
  45. }
  46. }