public static enum Platform.Os extends java.lang.Enum<Platform.Os>
Enum Constant and Description |
---|
Android
Android operating systems
|
iOS
iOS operating systems
|
Linux
Linux operating systems
|
MacOS
macOS operating systems
|
Windows
Microsoft Windows operating systems
|
Modifier and Type | Method and Description |
---|---|
static Platform.Os |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Platform.Os[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platform.Os Linux
public static final Platform.Os Windows
public static final Platform.Os iOS
public static final Platform.Os MacOS
public static final Platform.Os Android
public static Platform.Os[] values()
for (Platform.Os c : Platform.Os.values()) System.out.println(c);
public static Platform.Os valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null