public final enum

ChatEndReason

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.salesforce.android.chat.core.model.ChatEndReason

Class Overview

Reasons for why the session has ended.

Summary

Enum Values
ChatEndReason  EndedByAgent  The session has been ended by the agent via the Salesforce Console. 
ChatEndReason  EndedByClient  The session has been ended client-side by calling endChatSession()  
ChatEndReason  LiveAgentTimeout  A network error has been encountered while communicating with LiveAgent. 
ChatEndReason  NetworkError  A network error has been encountered and the session has ended. 
ChatEndReason  NoAgentsAvailable  The session has ended immediately because there are no agents currently available. 
ChatEndReason  Unknown  An unexpected fatal error has occurred. 
ChatEndReason  VerificationError  Connection information could not be verified, or the request to verify has failed. 
Public Methods
static ChatEndReason valueOf(String name)
final static ChatEndReason[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ChatEndReason EndedByAgent

The session has been ended by the agent via the Salesforce Console.

public static final ChatEndReason EndedByClient

The session has been ended client-side by calling endChatSession()

public static final ChatEndReason LiveAgentTimeout

A network error has been encountered while communicating with LiveAgent.

public static final ChatEndReason NetworkError

A network error has been encountered and the session has ended.

public static final ChatEndReason NoAgentsAvailable

The session has ended immediately because there are no agents currently available.

public static final ChatEndReason Unknown

An unexpected fatal error has occurred.

public static final ChatEndReason VerificationError

Connection information could not be verified, or the request to verify has failed.

Public Methods

public static ChatEndReason valueOf (String name)

public static final ChatEndReason[] values ()