Enum Class SkinModel
- All Implemented Interfaces:
Serializable, Comparable<SkinModel>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the lowercase token the skin-change endpoint expects in itsvariantfield.static SkinModelReturns the enum constant of this class with the specified name.static SkinModel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLASSIC
The 4-pixel-arm model. The wire value isCLASSICon a read andclassicon a write.- Since:
- 0.11.0
-
SLIM
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
apiVariant
Returns the lowercase token the skin-change endpoint expects in itsvariantfield.- Returns:
- the API variant token
- Since:
- 0.11.0
-