FetchMessagesCallback
Defines a callback for fetching messages.
Defines a callback for fetching messages with the result containing a list of messages, a boolean indicating if there are more messages to load, and an optional exception if an error occurred.
Syntax:typealias FetchMessagesCallback = (messages: List<InAppMessage>, hasMoreData: Boolean, exception: WebexConnectException?) -> Unit
Parameters
| Parameters | Type | Description |
|---|---|---|
| messages | List | The list of fetched in-app messages. |
| hasMoreData | Boolean | Flag indicating whether there are more messages to be fetched beyond the limit. |
| exception | WebexConnectException | Optional exception returned in case of error. |
Updated 8 months ago
