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...")
 
m
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
 
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[Application]]<br/>
 +
 
=== Description ===
 
=== Description ===
<br />
+
Returns the orientation of the application.
Returns the orientation of the application.<br />
+
<syntaxhighlight lang="lua">
<br />
+
(string) = application:getOrientation()
<source lang="lua">
+
</syntaxhighlight>
(string), = Application:getOrientation()
+
 
</source>
+
=== Return values ===
'''Returns''' (string) Values "portrait", "portraitUpsideDown", "landscapeLeft", "landscapeRight"<br/>
+
'''Returns''' (string) values can be "'''portrait'''", "'''portraitUpsideDown'''", "'''landscapeLeft'''", "'''landscapeRight'''"
 +
 
 +
{{Application}}

Latest revision as of 20:28, 15 December 2023

Available since: Gideros 2011.6
Class: Application

Description

Returns the orientation of the application.

(string) = application:getOrientation()

Return values

Returns (string) values can be "portrait", "portraitUpsideDown", "landscapeLeft", "landscapeRight"