Typealias
A typealias is a way to give a new name to an existing type, which can be useful for reusing completion callbacks.
This section details the callback and listener interfaces.
Typealias | Description |
---|---|
InAppMessagingListener | Defines a listener for receiving in-app messages. |
ConnectionStatusListener | Defines a listener for receiving connection status changes. |
FetchMessagesCallback | 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 oc |
PublishMessageCallback | Defines a callback for publishing a message with the published message and an optional exception if an error occurred. |
DeleteMessageCallback | Defines a callback for deleting a message with the message transaction ID and an optional exception if an error occurs. |
InAppThreadCallback | Defines a callback for operations related to in-app threads. This callback delivers the result of the operation, providing either the thread object involved in the operation, or an exception if an error occurred during the process. |
FetchThreadCallback | Defines a callback for fetching a single thread, providing the thread data and an optional exception if an error occurs. |
FetchThreadsCallback | 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. |
CreateThreadCallback | Defines a callback for the thread creation process. This callback is invoked upon the completion of the thread creation attempt. It provides details about the newly created thread or information about any exception that may have occurred during the creation process. |
UpdateThreadCallback | Defines a callback for handling the result of an in-app thread update operation. The callback is called with the updated thread information if the operation is successful, or with an exception if the update fails. |
SendMessageStatusCallback | Defines a callback for setting the status of messages with the message transaction IDs and an optional exception if an error occurred. |
FetchUnreadThreadCountCallback | Defines a callback for fetching the count of unread threads with the count and an optional exception if an error occurred. |
Updated about 1 month ago