Device class

Device information

Signature:

export declare class Device 

Properties

PropertyModifiersTypeDescription
isMobile

static

readonly

booleanIs the device mobile
isTouch

static

readonly

booleanIs the device using touch controls
isVR

static

readonly

booleanIs the device using VR
language

static

readonly

stringDevice language
orientation

static

readonly

stringDevice orientation
quality

static

readonly

stringDevice quality setting