public static final class

PreChatPickListField.Option

extends Object
java.lang.Object
   ↳ com.salesforce.android.chat.ui.model.PreChatPickListField.Option

Class Overview

A pick list option that can be used with PreChatPickListField and displayed on the pre-chat UI. Options can be provided to addOption(Option).

Summary

Public Constructors
Option(String displayLabel, Object value)
Create a new pick list option for use with PreChatPickListField.
Public Methods
String getDisplayLabel()
The label text that will be displayed for this option in the pre-chat UI.
Object getValue()
The value of the selection that will be sent to your Salesforce org.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Option (String displayLabel, Object value)

Create a new pick list option for use with PreChatPickListField.

Parameters
displayLabel The label text that will be displayed for this option in the pre-chat UI
value The value of the selection that will be sent to your Salesforce org

Public Methods

public String getDisplayLabel ()

The label text that will be displayed for this option in the pre-chat UI.

public Object getValue ()

The value of the selection that will be sent to your Salesforce org.