|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ReadableDeviceCategory.Category> net.sf.uadetector.ReadableDeviceCategory.Category
public static enum ReadableDeviceCategory.Category
Contains all at the time of implementation known device categories, so that a caller can easily and type-safe test against them.
Enum Constant Summary | |
---|---|
GAME_CONSOLE
A game console is an interactive computer that produces a video display signal which can be used with a display device (a television, monitor, etc.) to display a video game. |
|
OTHER
A device that doesn't match the other categories |
|
PDA
A personal digital assistant (PDA), also known as a palmtop computer, or personal data assistant, is a mobile device that functions as a personal information manager. |
|
PERSONAL_COMPUTER
A personal computer (PC) is a general-purpose computer, whose size, capabilities, and original sale price makes it useful for individuals, and which is intended to be operated directly by an end-user with no intervening computer operator. |
|
SMART_TV
A smart TV, sometimes referred to as connected TV or hybrid TV |
|
SMARTPHONE
A smartphone is a mobile phone built on a mobile operating system, with more advanced computing capability and connectivity than a feature phone |
|
TABLET
A tablet computer, or simply tablet, is a mobile computer with display, circuitry and battery in a single unit. |
|
UNKNOWN
An unknown device category |
|
WEARABLE_COMPUTER
Wearable computers, also known as body-borne computers are miniature electronic devices that are worn by the bearer under, with or on top of clothing. |
Method Summary | |
---|---|
static ReadableDeviceCategory.Category |
evaluate(java.lang.String categoryName)
Tries to find by the given category name a matching enum value. |
java.lang.String |
getName()
Returns the name of the device category. |
static ReadableDeviceCategory.Category |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ReadableDeviceCategory.Category[] |
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 ReadableDeviceCategory.Category GAME_CONSOLE
public static final ReadableDeviceCategory.Category OTHER
public static final ReadableDeviceCategory.Category PDA
public static final ReadableDeviceCategory.Category PERSONAL_COMPUTER
public static final ReadableDeviceCategory.Category SMART_TV
public static final ReadableDeviceCategory.Category SMARTPHONE
public static final ReadableDeviceCategory.Category TABLET
public static final ReadableDeviceCategory.Category UNKNOWN
public static final ReadableDeviceCategory.Category WEARABLE_COMPUTER
Method Detail |
---|
public static ReadableDeviceCategory.Category[] values()
for (ReadableDeviceCategory.Category c : ReadableDeviceCategory.Category.values()) System.out.println(c);
public static ReadableDeviceCategory.Category 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 static ReadableDeviceCategory.Category evaluate(@Nonnull java.lang.String categoryName)
categoryName
- name of an device category
UNKNOWN
net.sf.qualitycheck.exception.IllegalNullArgumentException
- if the given argument is null
@Nonnull public java.lang.String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |