Enum Class LogoSize

java.lang.Object
java.lang.Enum<LogoSize>
dev.reuss.tmdb.value.image.size.LogoSize
All Implemented Interfaces:
ImageSize, Serializable, Comparable<LogoSize>, Constable

public enum LogoSize extends Enum<LogoSize> implements ImageSize
Supported TMDB logo image sizes.
  • Enum Constant Details

    • W45

      public static final LogoSize W45
    • W92

      public static final LogoSize W92
    • W154

      public static final LogoSize W154
    • W185

      public static final LogoSize W185
    • W300

      public static final LogoSize W300
    • W500

      public static final LogoSize W500
    • ORIGINAL

      public static final LogoSize ORIGINAL
  • Method Details

    • values

      public static LogoSize[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LogoSize valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
      Description copied from interface: ImageSize
      Returns the TMDB image size value.
      Specified by:
      value in interface ImageSize
      Returns:
      the TMDB image size value