T

DeviceInfoType

Hardware and OS details reported by the native device module.

type DeviceInfoType = { … }

Members

devicestring

The device's name, as Discord's native device module reports it.

The device's brand.

The device's manufacturer.

The device model; iPad on an iPad, which Discord checks to detect iPadOS.

The device's product name, as Discord's native device module reports it.

Whether the system uses gesture navigation instead of navigation buttons.

isTabletboolean

Whether the device is a tablet.

Whether the system task bar is shown, as Discord's native device module reports it.

The maximum CPU frequency as a numeric string; empty when unknown.

ramSizestring

The device's RAM size as a numeric string; empty when unknown.

socNamestring

The system-on-chip's name.

The operating system version.