From wiki.ginstr.com
Revision as of 20:08, 2 September 2018 by Mark (talk | contribs) (Mark moved page gn:act keeepScreenOn to gn:act keepScreenOn: fixed typo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

gn:act_keepScreenOn

Description
Action is used to keep screen turned on when user is not interacting with device.
Action returns
void

Action signatures

Sets screen state

[gn:act_keepScreenOn]|[state]
Parameter Description
state hard coded value which enables/disables screen state

Can be:

  • true - screen will be enabled constantly
  • false - screen will respect turn off timer set in android OS settings and turn off and lock after X seconds
  • Valid sources:

Example

[gn:act_keepScreenOn]|[true]