Application:getDeviceOrientation

From GiderosMobile
Revision as of 11:05, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2014.01<br/> === Description === Get the device orientation (and not what is that in project properties as done with `getOrientation`)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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()

Returns (string) Values "portrait", "portraitUpsideDown", "landscapeLeft", "landscapeRight"