Back

IsTablet

JS Py
Hello World

Checks if the user device is a tablet.

app.IsTablet() → Boolean

See Also: IsChrome

Example - Check Tablet

function OnStart()
{
    tablet = app.IsTablet();
    app.ShowPopup( tablet, "Is Tablet:" );
}
from native import app

def OnStart():
    tablet = app.IsTablet()
    app.ShowPopup(str(tablet), "Is Tablet:")
    Copy     Copy All       Run