Certain Device Properties and Functions are provided within the device object. You access this object through the .device parameter. For instance to get the device name you can go:

window.onloadTelemetryTV = function (ttv) {
  const name = ttv.device.name;
  console.log('My device name is: ', name);
};

Available Properties

Property

Description

Type

id

TelemetryTV Device ID

string

serialNumber

Serial Number

string

model

Model Type

string

name

Name

string

location

Location

string

geo

Geographic Coordinates (Requires app and device support)

object

os

Operating System

string

osVersion

Version of the OS

string

tags

TelemetryTV Device Tags

array

language

Language locale settings (derived from the device and account language settings where device if set will override the account)

string

deviceLanguage

The localization language set for the device

string

accountLanguage

The localization language set for the account

string

browserName

Browser rendering engine

string

browserVersion

Browser version

string

uptime

Uptime of the device in seconds

number

environmentVars

Device environment variables

array

rotation

Rotation of the device's screen

number

orientation

Orientation of the device

string

serialPorts

The serial ports of the device (if any)

array