Application:getOrientation

From GiderosMobile
Revision as of 16:48, 12 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source" to "</syntaxhighlight")

Available since: Gideros 2011.6
Class: Application

Description

Returns the orientation of the application.

<source lang="lua"> (string) = application:getOrientation() </syntaxhighlight>

Return values

Returns (string) Values "portrait", "portraitUpsideDown", "landscapeLeft", "landscapeRight"