Skip to main content

XR8.XrDevice.deviceEstimate()

XR8.XrDevice.deviceEstimate()

Description

Returns an estimate of the user's device (e.g. make / model) based on user agent string and other factors. This information is only an estimate, and should not be assumed to be complete or reliable.

Parameters

None

Returns

An object: { locale, os, osVersion, manufacturer, model }

PropertyDescription
localeThe user's locale.
osThe device's operating system.
osVersionThe device's operating system version.
manufacturerThe device's manufacturer.
modelThe device's model.