Device

The device object gives you means to know what device and you are running on and what version they are. These are properties not methods so there are no arguments passed.


Platform

Syntax

device.platform

Example

document.getElementById("platform").innerHTML   = device.platform;

Version

Syntax

device.version

Example

document.getElementById("version").innerHTML    = device.version;

Name

Syntax

device.name

Example

document.getElementById("devicename").innerHTML = device.name;

UUID

Syntax

device.uuid

Example

document.getElementById("uuid").innerHTML       = device.uuid;