Back

GetOrientation

Get current device orientation.

  app.GetOrientation() → string: "Landscape" or "Portrait"

Example - Example



function OnStart()
{
    orient = app.GetOrientation();
    app.ShowPopup( orient );
}
    Copy     Copy All       Run