Package org.geysermc.floodgate.util
Enum Class DeviceOs
- All Implemented Interfaces:
Serializable,Comparable<DeviceOs>,Constable
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceOsfromId(int id) Deprecated.Get the DeviceOs instance from the identifier.toString()Deprecated.static DeviceOsDeprecated.Returns the enum constant of this class with the specified name.static DeviceOs[]values()Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Deprecated. -
GOOGLE
Deprecated. -
IOS
Deprecated. -
OSX
Deprecated. -
AMAZON
Deprecated. -
GEARVR
Deprecated. -
HOLOLENS
Deprecated. -
UWP
Deprecated. -
WIN32
Deprecated. -
DEDICATED
Deprecated. -
TVOS
Deprecated. -
PS4
Deprecated. -
NX
Deprecated. -
XBOX
Deprecated. -
WINDOWS_PHONE
Deprecated.
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-
fromId
Deprecated.Get the DeviceOs instance from the identifier.- Parameters:
id- the DeviceOs identifier- Returns:
- The DeviceOs or
UNKNOWNif the DeviceOs wasn't found
-
toString
Deprecated.
-