public static enum UserAgent.Device extends Enum<UserAgent.Device>
| Enum Constant and Description |
|---|
BLACKBERRY |
BOT |
DROID |
DROID_TABLET |
IPAD |
IPHONE |
IPOD |
MOBILE |
NOKIA |
PC |
SONYERICSSON |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static UserAgent.Device |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserAgent.Device[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserAgent.Device IPHONE
public static final UserAgent.Device IPAD
public static final UserAgent.Device IPOD
public static final UserAgent.Device DROID
public static final UserAgent.Device DROID_TABLET
public static final UserAgent.Device BLACKBERRY
public static final UserAgent.Device SONYERICSSON
public static final UserAgent.Device NOKIA
public static final UserAgent.Device PC
public static final UserAgent.Device MOBILE
public static final UserAgent.Device BOT
public static final UserAgent.Device UNKNOWN
public static UserAgent.Device[] values()
for (UserAgent.Device c : UserAgent.Device.values()) System.out.println(c);
public static UserAgent.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.