T
NativePlatformDevice
Facts about the device Discord runs on.
type NativePlatformDevice = { … }Members
The host platform.
getDeviceModel
(): stringThe device's model name.
getJailbreak?
(): stringThe active iOS jailbreak's name, such as Dopamine 2.4, or an empty string on Android and when none is found; older loaders lack it.
getOSVersionString
(): stringThe operating system's version.
isRooted
(): booleanWhether the device is jailbroken on iOS or has an su binary on Android.
isSystemApp
(): booleanWhether Discord is installed as a system app.
isVirtualDevice
(): booleanWhether Discord runs in a simulator, emulator or virtual machine.