public enum Platform extends Enum<Platform>
| Enum Constant and Description |
|---|
ANDROID_NATIVE |
ANDROID_WEB |
ANY |
CHROME |
FIREFOX |
IE |
IOS_NATIVE |
OPERA |
SAFARI |
| Modifier and Type | Method and Description |
|---|---|
static Platform |
fromString(String input) |
String |
getValue() |
boolean |
isAndroidNative() |
boolean |
isIOSNative() |
boolean |
isMobile() |
boolean |
isWeb() |
static Platform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platform CHROME
public static final Platform FIREFOX
public static final Platform IE
public static final Platform SAFARI
public static final Platform OPERA
public static final Platform ANDROID_NATIVE
public static final Platform ANDROID_WEB
public static final Platform IOS_NATIVE
public static final Platform ANY
public static Platform[] values()
for (Platform c : Platform.values()) System.out.println(c);
public static Platform 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 getValue()
public boolean isAndroidNative()
public boolean isIOSNative()
public boolean isMobile()
public boolean isWeb()
Copyright © 2013-2018. All Rights Reserved.