Returns the default Orientation of the device.
app.GetDefaultOrientation() → String: “Portrait” or “Landscape”
The result modes can be “Portrait” if the device width is smaller than the device height, or “Landscape” vice versa.
See Also: SetOrientation, GetOrientation
Example - Show Default Orientation
function OnStart()
{
var orient = app.GetDefaultOrientation();
app.Alert( orient );
}