Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

digium.resetIdleTimer

Description

 

Resets the timeout that causes the phone to hide apps when there's no keyboard input for a while. This keeps the app alive and should be called periodicallly to prevent the app from being timed out. 

Basic Example:

Code Block
languagejs
 digium.resetIdleTimer();

 

 

If an app is idle for 30 seconds without this function being called, the app will go to the background and the screen will return to idle.

Parameters

 

None