Back

GetOptions

JS Py
Hello World

Returns all current app settings.

app.GetOptions() → String: comma “,” separated: “portrait”, “landscape”, “dark”, “light”, “holo”, “node”, “hybrid”, “mui”, “transparent”, “debug”, “remote”, “noswapify”

If ran from inside DroidScript, “debug,remote,holo” is the default value.

See Also: SetOptions

Example - Show App Options

cfg.No_Dom, cfg.Portrait;

function OnStart()
{
    var opt = app.GetOptions();
    app.Alert( opt );
}
cfg.No_Dom, cfg.Portrait

def OnStart():
    opt = app.GetOptions()
    app.Alert( opt )
Copy All       Run