ChannelInfo.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using MediaBrowser.Model.LiveTv;
  2. namespace MediaBrowser.Controller.LiveTv
  3. {
  4. /// <summary>
  5. /// Class ChannelInfo
  6. /// </summary>
  7. public class ChannelInfo
  8. {
  9. /// <summary>
  10. /// Gets or sets the name.
  11. /// </summary>
  12. /// <value>The name.</value>
  13. public string Name { get; set; }
  14. /// <summary>
  15. /// Gets or sets the number.
  16. /// </summary>
  17. /// <value>The number.</value>
  18. public string Number { get; set; }
  19. /// <summary>
  20. /// Get or sets the Id.
  21. /// </summary>
  22. /// <value>The id of the channel.</value>
  23. public string Id { get; set; }
  24. /// <summary>
  25. /// Gets or sets the type of the channel.
  26. /// </summary>
  27. /// <value>The type of the channel.</value>
  28. public ChannelType ChannelType { get; set; }
  29. /// <summary>
  30. /// Set this value to true or false if it is known via channel info whether there is an image or not.
  31. /// Leave it null if the only way to determine is by requesting the image and handling the failure.
  32. /// </summary>
  33. public bool? HasImage { get; set; }
  34. }
  35. }