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.