public enum DeviceOS extends Enum<DeviceOS>
| Enum Constant and Description |
|---|
ANDROID |
DEDICATED |
FIREOS |
GEARVR |
HOLOLENS |
IOS |
NX |
ORBIS |
OSX |
SWITCH |
UNKNOWN |
WIN_PHONE |
WIN10 |
WIN32 |
XBOX_ONE |
| Modifier and Type | Method and Description |
|---|---|
static DeviceOS |
getById(int id) |
String |
toString() |
static DeviceOS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceOS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceOS UNKNOWN
public static final DeviceOS ANDROID
public static final DeviceOS IOS
public static final DeviceOS OSX
public static final DeviceOS FIREOS
public static final DeviceOS GEARVR
public static final DeviceOS HOLOLENS
public static final DeviceOS WIN10
public static final DeviceOS WIN32
public static final DeviceOS DEDICATED
public static final DeviceOS ORBIS
public static final DeviceOS NX
public static final DeviceOS SWITCH
public static final DeviceOS XBOX_ONE
public static final DeviceOS WIN_PHONE
public static DeviceOS[] values()
for (DeviceOS c : DeviceOS.values()) System.out.println(c);
public static DeviceOS valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static DeviceOS getById(int id)
Copyright © 2020 GeyserMC. All rights reserved.