java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.salesforce.android.sos.api.SosEndReason |
Enumeration of the various causes of the end of the session.
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
The session timed out during setup, or the session lost connection and could not re-establish it in time.
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.
The session has ended because we've lost connection to the network.
The session has ended because there was no agent available to service the session.
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.