public static enum UserAgentIngredients.Device extends Enum<UserAgentIngredients.Device>
| Enum Constant and Description |
|---|
CONSOLE |
EMBEDDED |
MOBILE |
PC |
SMART_TV |
TABLET |
UNKNOWN |
WEARABLE |
| Modifier and Type | Method and Description |
|---|---|
static UserAgentIngredients.Device |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserAgentIngredients.Device[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserAgentIngredients.Device UNKNOWN
public static final UserAgentIngredients.Device PC
public static final UserAgentIngredients.Device MOBILE
public static final UserAgentIngredients.Device TABLET
public static final UserAgentIngredients.Device SMART_TV
public static final UserAgentIngredients.Device WEARABLE
public static final UserAgentIngredients.Device CONSOLE
public static final UserAgentIngredients.Device EMBEDDED
public static UserAgentIngredients.Device[] values()
for (UserAgentIngredients.Device c : UserAgentIngredients.Device.values()) System.out.println(c);
public static UserAgentIngredients.Device 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 nullCopyright © 2017. All rights reserved.