Application.setInactivityTimeout
void setInactivityTimeout(uint inactivityTimeout)Sets the current inactivity timeout for the application.
This is the amount of time (in milliseconds) after the last call to [gio.application.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 [gio.application.Application.release] drops the use count to zero. Any timeouts currently in progress are not impacted.
Parameters
inactivityTimeout | the timeout, in milliseconds |