Application.setInactivityTimeout

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.

class Application
void
setInactivityTimeout

Parameters

inactivityTimeout uint

the timeout, in milliseconds

Meta

Since

2.28