Skip to content

IDevice

js
{
    type: "",
    vendor: "",
    model: ""
}

Properties

type?: string

The detected device type, such as mobile, tablet, smarttv, or wearable.

vendor?: string

The device manufacturer, such as Samsung, Apple, or Huawei.

model?: string

The detected model name, determined dynamically from the user-agent string.

Inherited methods

is(), toString(), withClientHints(), and withFeatureCheck() are inherited from IData.

UAParser.js v2 is licensed under AGPLv3 or PRO licenses.