public interface

AgentInformation

com.salesforce.android.chat.core.model.AgentInformation

Class Overview

Contains information about the Agent that has joined the Chat session.

Summary

Public Methods
abstract String getAgentId()
The Agent's unique identifier.
abstract String getAgentName()
The name of the Agent.
abstract boolean isChatBot()
True if the agent is a ChatBot and not a real human being.
abstract boolean isSneakPeekEnabled()
True if Sneak Peek is enabled in the Agent's Live Agent Configuration.

Public Methods

public abstract String getAgentId ()

The Agent's unique identifier.

Returns
  • Agent ID

public abstract String getAgentName ()

The name of the Agent.

Returns
  • Agent Name

public abstract boolean isChatBot ()

True if the agent is a ChatBot and not a real human being.

public abstract boolean isSneakPeekEnabled ()

True if Sneak Peek is enabled in the Agent's Live Agent Configuration.

SneakPeek enables the Agent to see a preview of the chat visitor's text as they type. It can be enabled or disabled for each Live Agent Configuration in your Salesforce Organization.

Returns
  • True if Sneak Peek is enabled for the Agent.