Difference between revisions of "Screen:setState"
From GiderosMobile
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| − | + | '''Available since:''' Gideros 2017.8<br/> | |
| − | ''' | + | '''Class:''' [[Screen]]<br/> |
| − | ''' | + | |
| − | === | + | === Description === |
| − | + | Attempts to configure the screen or window, if allowed by the platform. | |
<source lang="lua"> | <source lang="lua"> | ||
| − | + | Screen:setState(state) | |
</source> | </source> | ||
| − | === | + | |
| − | '''state''': (number) | + | === Parameters === |
| + | '''state''': (number) the required state of the screen<br/> | ||
{{Screen}} | {{Screen}} | ||
Revision as of 03:17, 28 April 2021
Available since: Gideros 2017.8
Class: Screen
Description
Attempts to configure the screen or window, if allowed by the platform.
Screen:setState(state)
Parameters
state: (number) the required state of the screen