model Property

This property returns the model of the device that the application is running on.

intel.xdk.device.model

Description:

This property is defined by the manufacturer of the device. Consequently, this property varies by maker as well as by model. Some valid values include:

  • iPad
  • Motorola Droid
  • iPhone 3G
  • iPhone 4
  • HTC Incredible
  • Galaxy Tab
  • Galaxy S
  • Wave

Example:


alert(intel.xdk.device.model);
             
For more complete information about compiler optimizations, see our Optimization Notice.