public enum DeviceOs extends Enum<DeviceOs>
| Enum Constant and Description |
|---|
AMAZON |
DEDICATED |
GEARVR |
GOOGLE |
HOLOLENS |
IOS |
NX |
OSX |
PS4 |
TVOS |
UNKNOWN |
UWP |
WIN32 |
WINDOWS_PHONE |
XBOX |
| Modifier and Type | Method and Description |
|---|---|
static DeviceOs |
getById(int id)
Get the DeviceOs instance from the identifier.
|
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 GOOGLE
public static final DeviceOs IOS
public static final DeviceOs OSX
public static final DeviceOs AMAZON
public static final DeviceOs GEARVR
public static final DeviceOs HOLOLENS
public static final DeviceOs UWP
public static final DeviceOs WIN32
public static final DeviceOs DEDICATED
public static final DeviceOs TVOS
public static final DeviceOs PS4
public static final DeviceOs NX
public static final DeviceOs XBOX
public static final DeviceOs WINDOWS_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)
id - the DeviceOs identifierUNKNOWN if the DeviceOs wasn't foundCopyright © 2021 GeyserMC. All rights reserved.