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