Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

SleepTimeout.SystemSetting

static var SystemSetting: int;
static int SystemSetting;
static SystemSetting as int

Description

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

Useful when restoring back to the state the system was in before running your app.