Difference between revisions of "Application:getOrientation"

From GiderosMobile
m
m
 
(4 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/>
+
=== Description ===
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]
 
<br/>
 
=== <translate>Description</translate> ===
 
<translate>
 
 
Returns the orientation of the application.
 
Returns the orientation of the application.
</translate>
+
<syntaxhighlight lang="lua">
<source lang="lua">
 
 
(string) = application:getOrientation()
 
(string) = application:getOrientation()
</source>
+
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (string) <translate>Values "portrait", "portraitUpsideDown", "landscapeLeft", "landscapeRight"</translate>
+
=== Return values ===
<br/>
+
'''Returns''' (string) values can be "'''portrait'''", "'''portraitUpsideDown'''", "'''landscapeLeft'''", "'''landscapeRight'''"
<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"