Back
GetOrientation
GetOrientation returns the current orientation of the device.
app.GetOrientation() ->
string
- "Landscape" or "Portrait"
Example - Example
function OnStart()
{
orient = app.GetOrientation();
app.ShowPopup( orient );
}
Copy
Copy All
Run