AepInboxContentProvider
Responsible for retrieving and refreshing data as required by the inbox UI.
Classes implementing this interface will define a strategy to provide content for rendering the inbox UI.
Interface Definition
Kotlin
Copied to your clipboardinterface AepInboxContentProvider {fun getInboxUI(): Flow<InboxUIState>suspend fun refresh()}
Methods
getInboxUI
Retrieves the Inbox content and updates the state as a flow.
Returns
The content for the Inbox as a Flow of InboxUIState.
Syntax
Kotlin
Copied to your clipboardfun getInboxUI(): Flow<InboxUIState>
refresh
Refreshes the Inbox content and updates the data into the flow returned by getInboxUI.
Syntax
Kotlin
Copied to your clipboardsuspend fun refresh()
