Difference between revisions of "Application:getOrientation"

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

Latest revision as of 19: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"