Difference between revisions of "Application:getOrientation"

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