public static interface

ChatWindowMenu.MenuItem

com.salesforce.android.chat.core.model.ChatWindowMenu.MenuItem

Class Overview

Model that represents a menu item.

Summary

Public Methods
abstract int getIndex()
The index value of this menu item within the parent menu.
abstract String getLabel()
The label text of this menu item.
abstract String getValue()
The optional value of this menu item.

Public Methods

public abstract int getIndex ()

The index value of this menu item within the parent menu. This value is used when sending menu item selections to the agent.

Returns
  • The index value of the menu item

public abstract String getLabel ()

The label text of this menu item. Meant to be displayed to the user.

Returns
  • The label text of this menu item

public abstract String getValue ()

The optional value of this menu item. Not meant to be displayed to the user.

Returns
  • Optional value, may be null