Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

SystemInfo.deviceType

static var deviceType: DeviceType;
static DeviceType deviceType;
static deviceType as DeviceType

Description

Returns the kind of device the application is running on.

See DeviceType enumeration for possible values.