Axp Messaging
Facade for the AXP Messaging module.
Properties
A Flow that emits IdleTimeout objects when an idle timeout event occurs.
Functions
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.
This function is a suspending function that fetches notification data.
Fetches notification data asynchronously.
Removes a listener for idle timeout events.
Reset the idleTimeout to indicate the SDK that the user session is still active. The SDK already resets the timeout when it receives a request to sendMessage. Invoke this method only when client want to indicate a user's activity visible only to the client (apart from the above mentioned activity)