ConversationListener

Interface called when conversation process is updated.

Inheritors

Functions

Link copied to clipboard
abstract fun handleClickedUrl(uri: Uri): Boolean

Called to know if the given link should processed by the SDK or by the app. If your app handles this link directly, you have to notify the SDK by returning true. If you return false the SDK will handle the link display process. If multiple conversation listeners are set, the SDK will process the link only if ALL listeners return false.

Link copied to clipboard
abstract fun onNewMessageReceived(content: String)

Called each time a message has been received in the ongoing conversation.

Link copied to clipboard
abstract fun onOngoingConversationUpdated(ongoingConversation: OngoingConversation?)

Called each time the ongoing conversation is updated (when the visitor starts/exits a conversation).