Application:getDeviceOrientation
From GiderosMobile
Available since: Gideros 2014.01
Description
Get the device orientation (and not what is that in project properties as done with getOrientation).Check Accelerometer example project for usage
(string) = Application:getDeviceOrientation()
Return values
Returns (string) Values "portrait", "portraitUpsideDown", "landscapeLeft", "landscapeRight"