GetOSVersion returns the API target level  of the android version.

app.GetOSVersion() → Number: integer

Example - Show Android API Level click to expand contents