SystemInfo.deviceType
static var deviceType: DeviceType;
Description

Returns the kind of device the application is running on.

See DeviceType enumeration for possible values.