Back
GetDefaultOrientation
GetDefaultOrientation returns the default Orientation of the device.
app.GetDefaultOrientation() →
string
: "Landscape" or "Portrait"
Example - Example
function OnStart()
{
orient = app.GetDefaultOrientation();
app.ShowPopup( orient );
}
Copy
Copy All
Run