From wiki.ginstr.com
(Redirected from gn:act keeepScreenOn)
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]