AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgk.DeviceName Property

A string containing the name of the current platform. e.g. 'windows' or 'bada'.

Syntax
Pascal
class property DeviceName: String;

When dealing with iOS more information is returned e.g. on iPad 1 'ios|iPad1,1' and on iPod 2nd gen: 'ios|iPod2,1' and on iPhone 3G: 'ios|iPhone1,2'. The first number is the major model number, the second is the minor model number.

Copyright (c) 2012. All rights reserved.