Difference between revisions of "Application:getDeviceOrientation"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <languages /> | ||
'''<translate>Available since</translate>:''' Gideros 2014.01<br/> | '''<translate>Available since</translate>:''' Gideros 2014.01<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]<br/> |
Revision as of 09:59, 3 September 2018
Available since: Gideros 2014.01
Class: Application
Description
Get the device orientation (and not what is that in project properties as done with getOrientation).Check Accelerometer example project for usage
(string) = Application:getDeviceOrientation()
Return values
Returns (string) Values "portrait", "portraitUpsideDown", "landscapeLeft", "landscapeRight"