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

ParametersTypeDescription
threadsList[InAppThread](https://developers.webexconnect.io/docs/inappthread)The list of fetched in-app threads.
hasMoreDataBooleanFlag indicating whether there are more threads to be fetched beyond the limit.
exceptionWebexConnectExceptionOptional exception returned in case of error.