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