Define DeviceService interface.

Implements

Constructors

Properties

Constructors

Properties

hardware: HardwareType = DeviceTypes.HardwareType.Unknown

Retrieve the hardware type of the current device. NOTE: HardwareType is determined by the user agent string and may not be accurate.

os: OsType = DeviceTypes.OsType.Unknown

Retrieve the current operating system. NOTE: OsType is determined by the user agent string and may not be accurate.

vrDevice: null | VrDeviceType = null

Retrieve the current VR device. If the hardware is not Headset, this will be null. NOTE: VrDeviceType is determined by the user agent string and may not be accurate.