The ClientInformation external object is a set of functions intended to provide access to the client machine information (browser or smart device), where the application is running.
This property returns an acceptable device identifier in most implementations. Please read ClientInformation.Id Property for detailed behavior description.
Returns the operating system name running on the SD as a string (as a VarChar(40)).
Returned values are: "iPad", "iPhone", "iPod" and "Android".
Returns the version of the operating system running on the Smart Devices as a string (as a VarChar(40)).
The returned value format depends on the operating system.
A character string is returned with the device language (as a VarChar(20), e.g. 'en-US,en' with '<locale>,<language>' format.
A possible use-case, for example, is to measure the number of devices accessing the application that lacks the language configuration not provided by the application. In this way, priorities can be established to make the application international.
Note that the application will be automatically displayed in the language more appropriate for the user, depending on the device language and the languages available on the Knowledge Base. The GetLanguage function must be used to programmatically determine the language being used to display the application.
Returns one of the following enumerated values from SmartDeviceType domain: Android, Apple, Web.
Returns the platform name of the device as much specific as possible. Its value consists of three device features described in the following table (e.g. Android Tablet 10").
O.S. |
Type |
Size |
Android |
Phone |
|
Tablet |
7'' |
10'' |
Apple |
iPad |
|
iPhone |
|
Returns the version number of the application which it was set by the developer in VersionCode property.
Returns the version name of the application which it was set by the developer in VersionName property.
Returns the application identifier. This is the package name in case of Android applications and the bundle identifier in case of Apple applications.
It does not have any.
It does not have any.
Indicates Smart Devices platforms.
Android |
Android device |
Apple |
Apple device |
Windows |
Windows Phone device (no longer supported in GeneXus 15)
|
Platforms |
Smart Devices (Android, Apple), Angular |
As of GeneXus X Evolution 3.