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 | Default |
|---|---|---|---|
displayHeight | Integer | The total number of addressable pixels in the vertical direction of a rectangular display when held in its default orientation | 640 |
displayWidth | Integer | The total number of addressable pixels in the horizontal direction of a rectangular display when held in its default orientation | 800 |
inputDevices | Set<String> | Input devices available to the user: one or more of clickWheel, keypad, stylus, touchScreen and trackball | empty set |
mobile | Boolean | Whether the device is a handheld mobile device | false |
model | String | The model name of the device | unknown |
pixelDensity | Integer | The pixel density of the device's screen in PPI | 217 |
pixelRatio | Integer | The ratio between physical and device-independent pixels on the device. For example, for a Retina iPhone this value is 2. | 1 |
robot | Boolean | Whether the device is a robot | false |
tablet | Boolean | Whether the device is a tablet device | false |
variant | String | The variant of the device (rarely used) | empty string |
vendor | String | The vendor name of the device | unknown |
version | Version | The version of the device | 1.0 |