public final enum

SosEndReason

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.salesforce.android.sos.api.SosEndReason

Class Overview

Enumeration of the various causes of the end of the session.

Summary

Enum Values
SosEndReason  ConnectionTimeout  The session timed out during setup, or the session lost connection and could not re-establish it in time. 
SosEndReason  Error  The session has ended due to an unknown error. 
SosEndReason  InsufficientNetwork  The session has ended due to failing the network test prior to the session, or because the network degraded to a point where the session could not be maintained. 
SosEndReason  Local  The session was explicitly ended by the user. 
SosEndReason  NetworkLost  The session has ended because we've lost connection to the network. 
SosEndReason  NoAgent  The session has ended because there was no agent available to service the session. 
SosEndReason  Remote  The session was explicitly ended by the agent. 
SosEndReason  Timeout  The session has ended because the agent has timed out. 
Public Methods
static SosEndReason valueOf(String name)
final static SosEndReason[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final SosEndReason ConnectionTimeout

The session timed out during setup, or the session lost connection and could not re-establish it in time.

public static final SosEndReason Error

The session has ended due to an unknown error.

public static final SosEndReason InsufficientNetwork

The session has ended due to failing the network test prior to the session, or because the network degraded to a point where the session could not be maintained.

public static final SosEndReason Local

The session was explicitly ended by the user.

public static final SosEndReason NetworkLost

The session has ended because we've lost connection to the network.

public static final SosEndReason NoAgent

The session has ended because there was no agent available to service the session.

public static final SosEndReason Remote

The session was explicitly ended by the agent.

public static final SosEndReason Timeout

The session has ended because the agent has timed out. This typically means that the agent closed their browser tab without explicitly ending the session.

Public Methods

public static SosEndReason valueOf (String name)

public static final SosEndReason[] values ()