From wiki.ginstr.com
Revision as of 13:34, 12 July 2017 by Mark (talk | contribs) (formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

gn:act_lockScreenOrientation

Description
Action used to locks the screen orientation to desired orientation.
Setting lock on orientation will keep the lock until the application is turned off.
To remove the lock or switch it to another orientation, action must be used again with a different keyword.
Action returns
void

Action signatures

Lock screen orientation

[gn:act_lockScreenOrientation]|[keyword]
Parameter Description
keyword
Can be:
  • landscape – locks orientation into landscape mode
  • portrait – locks orientation into portrait mode
  • sensor – clears any locks on orientation and returns the control to device sensor

Example

portrait - keyword
[gn:act_lockScreenOrientation]|[portrait]