Enum Class DeviceOs

java.lang.Object
java.lang.Enum<DeviceOs>
org.geysermc.floodgate.util.DeviceOs
All Implemented Interfaces:
Serializable, Comparable<DeviceOs>, Constable

@Deprecated(forRemoval=true, since="3.0.0") public enum DeviceOs extends Enum<DeviceOs>
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 Constants
    Enum Constant
    Description
    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.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static DeviceOs
    fromId(int id)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the DeviceOs instance from the identifier.
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static DeviceOs
    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.
    static DeviceOs[]
    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.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • UNKNOWN

      public static final DeviceOs UNKNOWN
      Deprecated, for removal: This API element is subject to removal in a future version.
    • GOOGLE

      public static final DeviceOs GOOGLE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • IOS

      public static final DeviceOs IOS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • OSX

      public static final DeviceOs OSX
      Deprecated, for removal: This API element is subject to removal in a future version.
    • AMAZON

      public static final DeviceOs AMAZON
      Deprecated, for removal: This API element is subject to removal in a future version.
    • GEARVR

      public static final DeviceOs GEARVR
      Deprecated, for removal: This API element is subject to removal in a future version.
    • HOLOLENS

      public static final DeviceOs HOLOLENS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • UWP

      public static final DeviceOs UWP
      Deprecated, for removal: This API element is subject to removal in a future version.
    • WIN32

      public static final DeviceOs WIN32
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DEDICATED

      public static final DeviceOs DEDICATED
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TVOS

      public static final DeviceOs TVOS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • PS4

      public static final DeviceOs PS4
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NX

      public static final DeviceOs NX
      Deprecated, for removal: This API element is subject to removal in a future version.
    • XBOX

      public static final DeviceOs XBOX
      Deprecated, for removal: This API element is subject to removal in a future version.
    • WINDOWS_PHONE

      public static final DeviceOs WINDOWS_PHONE
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • values

      public 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.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DeviceOs valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • fromId

      public static DeviceOs fromId(int id)
      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 UNKNOWN if the DeviceOs wasn't found
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Enum<DeviceOs>
      Returns:
      friendly display name of platform.