Enum DeviceClass
- All Implemented Interfaces:
Serializable
,Comparable<DeviceClass>
-
Enum Constant Summary
Enum ConstantDescriptionIn some cases the useragent has been altered by anonimization software.A mobile device with a AR capabilities.A browser built into a car.Something that runs in a cloud somewhere.The device is assessed as a Desktop/Laptop class device.Similar to a Tablet yet in most cases with an eInk screen.'Fixed' game systems like the PlayStation and XBox.In case scripting is detected in the useragent string, also fallback in really broken situations.'Mobile' game systems like the 3DS.An appliance with a browser built in (like a large Fridge).A device that is mobile yet we do not know if it is a eReader/Tablet/Phone or Watch.A mobile device with a small screen (common < 7").Robots that visit the site.Robots that visit the site pretending they are robots like google, but they are not.Robots that visit the site indicating they want to be seen as a Mobile visitor.A connected device that allows interacting via a TV sized screen.A mobile device with a rather large screen (common > 7").Similar to Set-top box yet here this is built into the TV.We found a deviceclass string that we have no enum value for.We really don't know, these are usually useragents that look normal yet contain almost no information about the device.A mobile device with a VR capabilities.A voice driven 'browser' (i.e.A mobile device with a tiny screen (common < 2"). -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static DeviceClass
Returns the enum constant of this type with the specified name.static DeviceClass[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DESKTOP
The device is assessed as a Desktop/Laptop class device. -
ANONYMIZED
In some cases the useragent has been altered by anonimization software. -
MOBILE
A device that is mobile yet we do not know if it is a eReader/Tablet/Phone or Watch. -
TABLET
A mobile device with a rather large screen (common > 7"). -
PHONE
A mobile device with a small screen (common < 7"). -
WATCH
A mobile device with a tiny screen (common < 2"). Normally these are an additional screen for a phone/tablet type device. -
AUGMENTED_REALITY
A mobile device with a AR capabilities. -
VIRTUAL_REALITY
A mobile device with a VR capabilities. -
E_READER
Similar to a Tablet yet in most cases with an eInk screen. -
SET_TOP_BOX
A connected device that allows interacting via a TV sized screen. -
TV
Similar to Set-top box yet here this is built into the TV. -
GAME_CONSOLE
'Fixed' game systems like the PlayStation and XBox. -
HANDHELD_GAME_CONSOLE
'Mobile' game systems like the 3DS. -
HOME_APPLIANCE
An appliance with a browser built in (like a large Fridge). -
VOICE
A voice driven 'browser' (i.e. ask a question and the page is read aloud). Like Alexa and Google Home. -
CAR
A browser built into a car. -
CLOUD
Something that runs in a cloud somewhere. -
ROBOT
Robots that visit the site. -
ROBOT_MOBILE
Robots that visit the site indicating they want to be seen as a Mobile visitor. -
ROBOT_IMITATOR
Robots that visit the site pretending they are robots like google, but they are not. -
HACKER
In case scripting is detected in the useragent string, also fallback in really broken situations. -
UNKNOWN
We really don't know, these are usually useragents that look normal yet contain almost no information about the device. -
UNCLASSIFIED
We found a deviceclass string that we have no enum value for.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-