IOS_IDLE_TIMER_DISABLED


Description:

[ CCode ( cname = "SDL_HINT_IOS_IDLE_TIMER_DISABLED" ) ]
public const string IOS_IDLE_TIMER_DISABLED

A variable controlling whether the idle timer is disabled on iOS.

When an iOS app does not receive touches for some time, the screen is dimmed automatically. For games where the accelerometer is the only input this is problematic. This functionality can be disabled by setting this hint.

This variable can be set to the following values:

  • "0" - Enable idle timer
  • "1" - Disable idle timer

Namespace: SDL.Hint
Package: sdl2



2022 vala-language.org