public interface

ChatBotListener

com.salesforce.android.chat.core.ChatBotListener

Class Overview

Listener interface for receiving menus from a Chat Bot.

Summary

Public Methods
abstract void onChatButtonMenuReceived(ChatWindowButtonMenu chatWindowButtonMenu)
Receive a ChatWindowButtonMenu as sent by a Chat Bot.
abstract void onChatFooterMenuReceived(ChatFooterMenu chatFooterMenu)
Receive a ChatFooterMenu as sent by a Chat Bot.
abstract void onChatMenuReceived(ChatWindowMenu chatWindowMenu)
Receive a ChatWindowMenu as sent by a Chat Bot.

Public Methods

public abstract void onChatButtonMenuReceived (ChatWindowButtonMenu chatWindowButtonMenu)

Receive a ChatWindowButtonMenu as sent by a Chat Bot. Button items may be displayed to an end user as they are received and become invalid once a selection has been made. Selection values may be passed to sendButtonSelection(int).

Parameters
chatWindowButtonMenu ChatWindowButtonMenu

public abstract void onChatFooterMenuReceived (ChatFooterMenu chatFooterMenu)

Receive a ChatFooterMenu as sent by a Chat Bot. Footer menu items may be displayed to the user for the duration of a session with a Chat Bot, and selection values may be passed to sendFooterMenuSelection(int, String).

Parameters
chatFooterMenu ChatFooterMenu

public abstract void onChatMenuReceived (ChatWindowMenu chatWindowMenu)

Receive a ChatWindowMenu as sent by a Chat Bot. Menu items may be displayed to an end user as they are received and become invalid once a selection has been made. Selection values may be passed to sendMenuSelection(int)

Parameters
chatWindowMenu ChatWindowMenu