Skip to main content

Reset Idle Timer

Reset idle timer for mobile app capturing

Fullstory capturing automatically enters an idle mode if it does not detect any user input for several seconds. In this mode, it scans the UI less frequently to conserve power and bandwidth. FS.resetIdleTimer() forces the Fullstory SDK out of idle mode, and prevents it from entering idle mode until another several seconds have passed.

Most apps do not need to use this function, because Fullstory automatically detects most user interaction (such as touch or keyboard input) and will not enter or stay in idle mode while the user is active. However, if user input comes in a form that Fullstory can't detect (such as a notification from a third-party app), you can call FS.resetIdleTimer() to ensure that the interaction is captured.

FS.resetIdleTimer()

Example Invocation

FS.resetIdleTimer()