device aspect

The properties of the device aspect. The combination of the model, version, vendor and variant properties uniquely identifies the device.

Property nameTypeDescriptionDefault
displayHeightIntegerThe total number of addressable pixels in the vertical direction of a rectangular display when held in its default orientation640
displayWidthIntegerThe total number of addressable pixels in the horizontal direction of a rectangular display when held in its default orientation800
inputDevicesSet<String>Input devices available to the user: one or more of clickWheel, keypad, stylus, touchScreen and trackballempty set
mobileBooleanWhether the device is a handheld mobile devicefalse
modelStringThe model name of the deviceunknown
pixelDensityIntegerThe pixel density of the device's screen in PPI217
pixelRatioIntegerThe ratio between physical and device-independent pixels on the device. For example, for a Retina iPhone this value is 2.1
robotBooleanWhether the device is a robotfalse
tabletBooleanWhether the device is a tablet devicefalse
variantStringThe variant of the device (rarely used)empty string
vendorStringThe vendor name of the deviceunknown
versionVersionThe version of the device1.0