public static enum UAParser.DeviceType extends Enum<UAParser.DeviceType>
Enum Constant and Description |
---|
DESKTOP |
MOBILE |
ROBOT |
TABLET |
TV |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static UAParser.DeviceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UAParser.DeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UAParser.DeviceType UNKNOWN
public static final UAParser.DeviceType DESKTOP
public static final UAParser.DeviceType MOBILE
public static final UAParser.DeviceType TABLET
public static final UAParser.DeviceType TV
public static final UAParser.DeviceType ROBOT
public static UAParser.DeviceType[] values()
for (UAParser.DeviceType c : UAParser.DeviceType.values()) System.out.println(c);
public static UAParser.DeviceType 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 © 2002–2021 The Apache Software Foundation. All rights reserved.