|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<DeviceType>
nl.bitwalker.useragentutils.DeviceType
public enum DeviceType
Enum contact for the type of used device
| Enum Constant Summary | |
|---|---|
COMPUTER
Standard desktop or laptop computer |
|
DMR
Digital media receiver like the Apple TV. |
|
GAME_CONSOLE
Game console like the Wii or Playstation. |
|
MOBILE
Mobile phone or similar small mobile device |
|
TABLET
Small tablet type computer. |
|
UNKNOWN
Other or unknow type of device. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
|
static DeviceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DeviceType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DeviceType COMPUTER
public static final DeviceType MOBILE
public static final DeviceType TABLET
public static final DeviceType GAME_CONSOLE
public static final DeviceType DMR
public static final DeviceType UNKNOWN
| Method Detail |
|---|
public static DeviceType[] values()
for (DeviceType c : DeviceType.values()) System.out.println(c);
public static DeviceType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||