Device

The Device API exposes internal information about the device, such as the model and operating system version, along with user information such as unique ids.

Usage
console.log(Device);

// Example output:
{    
    platform: "Android",
    manufacturer: "HUAWEI"
    model: "FIG-LX1"
    uuid: "182eaa75ec212345"
    version: "9"
    isVirtual: false
}
console.log(window.Device);
console.log(window.Device);
console.log((<any>window).Device);
console.log(window.Device);

Classes


Device

isVirtual
isVirtual: boolean

Whether the device is running on a simulator.

manufacturer
manufacturer: string

Get the device's manufacturer.

model
model: string

The device.model returns the name of the device's model or product.

platform
platform: string

Get the device's operating system name.

serial
serial: string

Get the device hardware serial number.

uuid
uuid: string

Get the device's Universally Unique Identifier (UUID).

version
version: string

Get the operating system version.