Device class

Device information

Signature:

export declare class Device 

Properties

Property

Modifiers

Type

Description

isMobile

static

readonly

boolean

Is the device mobile

isTouch

static

readonly

boolean

Is the device using touch controls

isVR

static

readonly

boolean

Is the device using VR

language

static

readonly

string

Device language

orientation

static

readonly

string

Device orientation

os

static

readonly

{ name: string; version: string; }

Device OS

quality

static

readonly

string

Device quality setting