setInactivityTimeout

open fun setInactivityTimeout(inactivityTimeout: <Error class: unknown class>)

Sets the current inactivity timeout for the application.

This is the amount of time (in milliseconds) after the last call to g_application_release() before the application stops running.

This call has no side effects of its own. The value set here is only used for next time g_application_release() drops the use count to zero. Any timeouts currently in progress are not impacted.

Since

2.28

Parameters

inactivityTimeout

the timeout, in milliseconds