public enum PlatformType extends Enum<PlatformType>
| Enum Constant and Description |
|---|
android_mobile |
ios_mobile |
linux |
mac |
unknown |
windows |
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
static PlatformType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlatformType |
valueOf2(String type) |
static PlatformType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlatformType unknown
public static final PlatformType windows
public static final PlatformType linux
public static final PlatformType mac
public static final PlatformType android_mobile
public static final PlatformType ios_mobile
public static PlatformType[] values()
for (PlatformType c : PlatformType.values()) System.out.println(c);
public static PlatformType 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 String getType()
public static PlatformType valueOf2(String type)
Copyright © 2021. All rights reserved.