addIdleTimeOutInvokedListener

Adds a listener for idle timeout events. This is useful for monitoring when the user session becomes idle. This is an alternative to using the idleTimeoutFlow for developers who prefer callback-based APIs over Kotlin's Flow API.

Parameters

listener

The listener to add. This listener will be invoked whenever an idle timeout event occurs.