SleepTimeout Manual     Reference     Scripting  
Scripting > Runtime Classes > SleepTimeout
SleepTimeout

Constants for special values of Screen.sleepTimeout. Use them to

specify something other than a fixed amount of seconds before dimming the screen.

Class Variables
NeverSleep

Prevent screen dimming.

SystemSetting

Set the sleep timeout to whatever user has specified in the system