Difference between revisions of "Application:getOrientation"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the orientation of the application.<br /> <br /> <source lang="lua"> (string), = Applic...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(string), = Application:getOrientation()
+
(string) = Application:getOrientation()
 
</source>
 
</source>
 
'''Returns''' (string) Values "portrait", "portraitUpsideDown", "landscapeLeft", "landscapeRight"<br/>
 
'''Returns''' (string) Values "portrait", "portraitUpsideDown", "landscapeLeft", "landscapeRight"<br/>

Revision as of 10:21, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the orientation of the application.

(string) = Application:getOrientation()

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