Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

DeviceType

enumeration

Description

Enumeration for SystemInfo.deviceType, denotes a coarse grouping of kinds of devices.

Windows Store Apps: tablets are treated as desktop machines, thus DeviceType.Handheld will only be returned for Windows Phones.

Variables

UnknownDevice type is unknown. You should never see this in practice.
HandheldA handheld device like mobile phone or a tablet.
ConsoleA stationary gaming console.
DesktopDesktop or laptop computer.