CreateConversationCallback

interface CreateConversationCallback : STWCallback<T>

This interface is used with the STWMessagingManager in order to delegate event when trying to create a new conversation.

When create a conversation, the onCompletion is called when the conversation is created in the local Database.

Functions

Link copied to clipboard
abstract fun onCompletion(@NonNull threadItem: ThreadItem)
Callback when action has been completed successfully In case of create a conversation request, this callback is called when the conversation is saved in the local DB.

Inherited functions

Link copied to clipboard
abstract fun onError(@NonNull error: T)
Called when an error occurs following a request executed by the developer.