public enum PlatformType extends Enum<PlatformType>
| Enum Constant and Description |
|---|
ANDROID |
IOS |
WINDOWS |
WINDOWS_PHONE |
| Modifier and Type | Method and Description |
|---|---|
static PlatformType |
fromValue(int platformAsOrd) |
String |
getDisplayName() |
int |
getOrdinalValue() |
static PlatformType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlatformType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlatformType IOS
public static final PlatformType ANDROID
public static final PlatformType WINDOWS_PHONE
public static final PlatformType WINDOWS
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 int getOrdinalValue()
public static PlatformType fromValue(int platformAsOrd)
public String getDisplayName()
Copyright © 2016–2023. All rights reserved.