NKGetDeviceType returns the device type as a string. Return values can be "iPhone", "iPad" or "iPod Touch".
NKGetDeviceType()
<a href="#" onClick="showNKGetDeviceType();">Show NKGetDeviceType</a>
When the link is clicked, the "showNKGetDeviceType" function is called & the type of device is displayed:
function showNKGetDeviceType()
{
NKAlert("Device Type", NKGetDeviceType());
}