Back

IsScreenOn

Returns whether the screen is on.

  app.IsScreenOn() → boolean

Example - Example



function OnStart()
{
    screenOn = app.IsScreenOn();
    app.ShowPopup( screenOn );
}
    Copy     Copy All       Run