FetchThreadsCallback
Defines a callback for fetching multiple threads.
Defines a callback for fetching multiple threads with the result containing a list of threads, a boolean indicating if there are more threads to load, and an optional exception if an error occurs.
Syntax: typealias FetchThreadsCallback = (threads: List<InAppThread>, hasMoreData: Boolean, exception: WebexConnectException?) -> Unit
Parameters
Parameters | Type | Description |
---|---|---|
threads | List[InAppThread](https://developers.webexconnect.io/docs/inappthread) | The list of fetched in-app threads. |
hasMoreData | Boolean | Flag indicating whether there are more threads to be fetched beyond the limit. |
exception | WebexConnectException | Optional exception returned in case of error. |
Updated 8 days ago