Difference between revisions of "Application:getOrientation"
From GiderosMobile
m |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
<languages /> | <languages /> | ||
− | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | + | '''<translate>Available since</translate>:''' Gideros 2011.6 |
− | '''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]<br/> | + | <br/> |
+ | '''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]] | ||
+ | <br/> | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
− | <translate | + | <translate> |
− | Returns the orientation of the application. | + | Returns the orientation of the application. |
− | + | </translate> | |
<source lang="lua"> | <source lang="lua"> | ||
− | (string) = | + | (string) = application:getOrientation() |
</source> | </source> | ||
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
− | '''<translate>Returns</translate>''' (string) <translate>Values "portrait", "portraitUpsideDown", "landscapeLeft", "landscapeRight"</translate><br/> | + | '''<translate>Returns</translate>''' (string) <translate>Values "portrait", "portraitUpsideDown", "landscapeLeft", "landscapeRight"</translate> |
+ | <br/> | ||
+ | <br/> |
Revision as of 23:49, 12 June 2019
Available since: Gideros 2011.6
Class: Application
Description
Returns the orientation of the application.
(string) = application:getOrientation()
Return values
Returns (string) Values "portrait", "portraitUpsideDown", "landscapeLeft", "landscapeRight"