Flamingo.Device.getVersion()

The getVersion() method returns iOS, Android, Firefox OS or Windows Mobile operation system version.

Syntax

Flamingo.Device.getVersion()

Parameters

None.

Return Value

Type Description
String iOS, Android, Firefox OS or Windows Mobile operation system version.

Example

You can use the following code in template to display the version of operation system the device is running on:

<!--{= Flamingo.Device.getVersion() }-->

For example, if the device running on Android 4.2.1 is used, the result will be:

4.2.1

See also