Back
IsThings
Hello World
Checks if the OS is AndroidThings.
app.IsThings() →
boolean
See Also:
IsTablet
,
IsChrome
Example - Check OS is Things
function
OnStart
(
)
{
var
isThings
=
app
.
IsThings
(
)
;
app
.
Alert
(
isThings
,
"IsThings"
)
;
}
Copy
Copy All
Run