ViewType.cs 860 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. namespace Jellyfin.Data.Enums
  2. {
  3. /// <summary>
  4. /// An enum representing the type of view for a library or collection.
  5. /// </summary>
  6. public enum ViewType
  7. {
  8. /// <summary>
  9. /// Shows banners.
  10. /// </summary>
  11. Banner = 0,
  12. /// <summary>
  13. /// Shows a list of content.
  14. /// </summary>
  15. List = 1,
  16. /// <summary>
  17. /// Shows poster artwork.
  18. /// </summary>
  19. Poster = 2,
  20. /// <summary>
  21. /// Shows poster artwork with a card containing the name and year.
  22. /// </summary>
  23. PosterCard = 3,
  24. /// <summary>
  25. /// Shows a thumbnail.
  26. /// </summary>
  27. Thumb = 4,
  28. /// <summary>
  29. /// Shows a thumbnail with a card containing the name and year.
  30. /// </summary>
  31. ThumbCard = 5
  32. }
  33. }