device aspect
The properties of the device aspect. The combination of the model, version, vendor and variant properties uniquely identifies the device.
| Property name | Type | Description |
|---|---|---|
displayHeight | Integer | The total number of addressable pixels in the vertical direction of a rectangular display when held in its default orientation |
displayWidth | Integer | The total number of addressable pixels in the horizontal direction of a rectangular display when held in its default orientation |
inputDevices | Set<String> | Input devices available to the user: one or more of clickWheel, keypad, stylus, touchScreen and trackball |
mobile | Boolean | Whether the device is a handheld mobile device |
model | String | The model name of the device |
pixelDensity | Integer | The pixel density of the device's screen in PPI |
pixelRatio | Float | The ratio between physical and device-independent pixels on the device. For example, for a Retina iPhone this value is 2. |
robot | Boolean | Whether the device is a robot |
tablet | Boolean | Whether the device is a tablet device |
variant | String | The variant of the device (rarely used) |
vendor | String | The vendor name of the device |
version | Version | The version of the device |