Back

GetOSVersion

Hello World

GetOSVersion returns the API target level  of the android version.

app.GetOSVersion() → number: integer

Example - Show Android API Level

function OnStart()
{
    version = app.GetOSVersion();
    app.Alert( version );
}
    Copy     Copy All       Run