Enum Class Platform

java.lang.Object
java.lang.Enum<Platform>
com.jme3.system.Platform
All Implemented Interfaces:
Serializable, Comparable<Platform>, Constable

public enum Platform extends Enum<Platform>
Enumerate known operating system/architecture pairs.
  • Enum Constant Details

    • Windows32

      public static final Platform Windows32
      Microsoft Windows 32-bit AMD/Intel
    • Windows64

      public static final Platform Windows64
      Microsoft Windows 64-bit AMD/Intel
    • Windows_ARM32

      public static final Platform Windows_ARM32
      Microsoft Windows 32-bit ARM
    • Windows_ARM64

      public static final Platform Windows_ARM64
      Microsoft Windows 64-bit ARM
    • Linux32

      public static final Platform Linux32
      Linux 32-bit Intel
    • Linux64

      public static final Platform Linux64
      Linux 64-bit Intel
    • Linux_ARM32

      public static final Platform Linux_ARM32
      Linux 32-bit ARM
    • Linux_ARM64

      public static final Platform Linux_ARM64
      Linux 64-bit ARM
    • MacOSX32

      public static final Platform MacOSX32
      Apple Mac OS X 32-bit Intel
    • MacOSX64

      public static final Platform MacOSX64
      Apple Mac OS X 64-bit Intel
    • MacOSX_ARM64

      public static final Platform MacOSX_ARM64
      Apple Mac OS X 64-bit ARM
    • MacOSX_PPC32

      public static final Platform MacOSX_PPC32
      Apple Mac OS X 32 bit PowerPC
    • MacOSX_PPC64

      public static final Platform MacOSX_PPC64
      Apple Mac OS X 64 bit PowerPC
    • Android_ARM5

      public static final Platform Android_ARM5
      Android ARM5
    • Android_ARM6

      public static final Platform Android_ARM6
      Android ARM6
    • Android_ARM7

      public static final Platform Android_ARM7
      Android ARM7
    • Android_ARM8

      public static final Platform Android_ARM8
      Android ARM8
    • Android_X86

      public static final Platform Android_X86
      Android x86
    • iOS_X86

      public static final Platform iOS_X86
      iOS on x86
    • iOS_ARM

      public static final Platform iOS_ARM
      iOS on ARM
    • Android_Other

      public static final Platform Android_Other
      Android running on unknown platform (could be x86 or mips for example).
  • Method Details

    • values

      public static Platform[] 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 Platform 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
    • is64Bit

      public boolean is64Bit()
      Test for a 64-bit address space.
      Returns:
      true if 64 bits, otherwise false
    • getOs

      public Platform.Os getOs()
      Returns the operating system of this platform.
      Returns:
      the generic name of the operating system of this platform